A Very Useful Telegram Bot That Has Some Great Feature
Find a file
2023-05-17 02:15:45 +00:00
.github Create FUNDING.yml 2023-04-24 21:53:03 +07:00
assets Lazy to make commit 2023-03-19 20:53:51 +07:00
database Add Session Storage (#54) 2023-04-17 09:03:39 +07:00
locales Rename sub_extractor.json to media_extractor.json 2023-05-10 17:06:11 +07:00
misskaty tes new readme 2023-05-17 02:01:01 +00:00
.deepsource.toml Update .deepsource.toml 2023-01-10 13:14:37 +00:00
.gitignore Added currency and uvloop (#38) 2023-04-11 11:15:50 +07:00
config.env.sample Update 'config.env.sample' 2023-05-09 02:56:58 +00:00
docker-compose.yml Update docker-compose.yml 2023-03-01 20:57:05 +07:00
Dockerfile update 2023-02-27 12:12:40 +07:00
heroku.yml update 2023-02-27 11:20:24 +07:00
LICENSE Rilis Pertama 2022-12-01 22:27:03 +07:00
README.id.md tes readme 2 2023-05-17 02:15:45 +00:00
README.md tes readme 2 2023-05-17 02:15:45 +00:00
requirements.txt Changed cfscrape to cloudscraper 2023-05-16 07:26:32 +00:00
start.sh revert 2023-03-02 21:58:37 +07:00
update.py MultiLanguage Support [BETA] (#21) 2023-03-28 13:15:39 +07:00
utils.py Sourcery refactored master branch (#18) 2023-02-13 22:44:16 +07:00

MIT License Repository Size Issue Closed

  

[Readme in Korean][readme-ko-url] View Demo Report bug Request feature

FRAMEWORK, TOOLS AND SERVER THAT USED TO BUILD THIS BOT

🌱 PyroFork v2.x.x (Fork of Pyrogram with Topics Support and Some Patch)
🌱 Python 3.11 Support
🌱 MongoDB as Database
🌱 PyKeyboard for Building Pagination
🌱 VS Code
🌱 VPS/Server With Docker Support (Recommended)

DONATION

For Indonesian Only:

For International Payment:

You can also give donation via Github Sponsor.

NOTES

If you want help me fixing some error in my bot, you can make pull request to this repo. I'm very glad if you can help me.

Demo

You can check demo this repo in this bot MissKatyPyro

Features and Give Support

FEATURE MY BOT 🌱
Basic Admin Feature ✔️
AFK Feature ✔️
Downloader FB, TikTok and YT-DLP Support ✔️
MultiLanguage Support (Still Beta) ⚠️
NightMode ✔️
ChatBot based on OpenAI ✔️
MissKaty Mata ✔️
Inline Search ✔️
Sticker Tools ✔️
PasteBin Tools ✔️
WebScraper (Pahe, MelongMovie, LK21, Terbit21, Kusonime, etc) ✔️
IMDB Search With Multi Language Per User ✔️
GenSS From Media and MediaInfo Generator ✔️
And Many More.. ✔️

Variables

Required Variables

  • BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.

Optional Variables

  • USER_SESSION : Session string for Userbot.
  • DATABASE_NAME: Name of the database in MongoDB
  • COMMAND_HANDLER: List of handler bot command splitted by space. Ex: . ! > so bot will respond with .cmd or !cmd
  • SUDO: User ID that have access to bot, split by space
  • OPENAI_API: Get it from OpenAI Web
  • CURRENCY_API: Get API Key from https://app.exchangerate-api.com/sign-up

Build And Run Using Legacy Method

  • Make sure minimum python version is 3.8 to prevent some errors. Check it with this command:
python3 --version
  • Install all dependency that needed bot to run. (need root access, you can skip this if your server didn't have root access but some plugins will not work)
apt update -y & apt install libjpeg-dev zlib1g-dev libwebp-dev python3-pip python3-lxml git wget curl ffmpeg locales tzdata neofetch mediainfo speedtest-cli -y
  • Install requirements.txt, if using python 3.11, you need pass --break-system-packages parameter or use venv when install.
    Python < 3.10
pip3 install -r requirements.txt

Python 3.11

pip3 install -r requirements.txt --break-system-packages
  • Setting your config.env or via environment. Dont forget fill all required value and need fill FF_MPEG_NAME and VCSI_NAME if you're deploying using this method.
  • Run Bot
bash start.sh

Build And Run Using Docker

  • Start Docker daemon (Skip if already running):
sudo dockerd
  • Build Docker image:
sudo docker build . -t misskaty
  • Run the image:
sudo docker run misskaty
  • To stop the image:
sudo docker ps
sudo docker stop <pid>

Build And Run The Docker Image Using docker-compose

  • Install docker-compose
sudo apt install docker-compose
  • Build and run Docker image or to view current running image:
sudo docker-compose up
  • After editing files with nano for example (nano start.sh):
sudo docker-compose up --build
  • To stop the running image:
sudo docker ps
sudo docker-compose stop <pid>

Thanks to

  • Thanks To Allah Swt.
  • Thanks To Dan For His Awesome Library.
  • Thanks To The Hamker Cat For WilliamButcher Code.
  • Thanks To Team Yukki For AFK Bot Code.
  • Thanks To Wrench For Some Code.
  • Thanks To AmanoTeam For MultiLanguage Template.
  • And All People Who Help Me In My Life... If your code used in this repo and want to give credit please open issue..

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. WARNING: Selling The Codes To Other People For Money Is Strictly Prohibited. God always sees you.