- I will not give any support to your fork, so try learn by yourself!! Don't contact me because of your fault. I will stop update to this repo, and i will only give minor bugfix to this repo.
- [1] About MissKaty
- [2] Framework Tools And Server That Used To Build This Bot
- [3] Support Creator
- [4] Notes
- [5] Features
- [6] Variables
- [7] Deploying Tutorial
- [8] Credits
- [9] Disclaimer
MissKaty is a Telegram Bot built using Python and the Pyrogram library. Many useful features for us to use. I hope that one day this project will be discontinued, someone will continue or develop it again. I gave the name MissKaty because I like cats, a cute animal that likes to be played with and friendly with humans.
π± PyroFork v2.x.x (Fork of Pyrogram with Topics, Stories Support and Some Patch)
π± Python 3.12 Support
π± MongoDB as Database
π± PyKeyboard for Building Pagination
π± VS Code
π± VPS/Server With Root and Docker Support (Recommended)
For Indonesian Only and some supported country:
π± QRIS
For International Payment:
π± Paypal
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. You can also give support to me for buying server.
FEATURE MY BOT | π± |
---|---|
Basic Admin Feature | βοΈ |
AFK Feature | βοΈ |
Downloader FB, TikTok and YT-DLP Support | βοΈ |
MultiLanguage Support (Unfinished) | |
NightMode | βοΈ |
ChatBot based on OpenAI and Google Bard | βοΈ |
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.. | βοΈ |
BOT_TOKEN
: Create a bot using @BotFather, and get the Telegram API token.API_ID
: Get this value from telegram.orgAPI_HASH
: Get this value from telegram.orgDATABASE_URI
: mongoDB URI. Get this value from mongoDB.LOG_CHANNEL
: A channel to log the activities of bot. Make sure bot is an admin in the channel.
YT_COOKIES
: Get YT cookies using https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc?pli=1 and save cookies value on github gist. Copy raw url and fill in this vars.USER_SESSION
: Session string for Userbot.DATABASE_NAME
: Name of the database in MongoDBCOMMAND_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 spaceOPENAI_API
: Create personal access token from github, and set as this env. Make sure you have access to Github Model.GOOGLEAI_KEY
: Learn how to get api key from this https://ai.google.dev/tutorials/python_quickstart?hl=en.CURRENCY_API
: Get API Key from https://app.exchangerate-api.com/sign-up
- Make sure minimum python version is 3.8 and max python 3.12 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 use venv when install pip package.
Python < 3.10
pip3 install -r requirements.txt
Python => 3.11
python3 -m venv nama_venv
source nama_venv/bin/activate
pip3 install -r requirements.txt
- Setting your config.env or via environment and dont forget fill all required value.
- Run Bot
bash start.sh
- 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>
- 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 Allah Swt.
- Thanks To Dan For Pyrogram Library as founder of pyrogram.
- Thanks To Mayuri For Pyrofork Library as owner of pyrofork library.
- Thanks To TeamDrivecok and SecretGroup TBK in Telegram.
- 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..
Licensed under GNU AGPL 2.0.
WARNING: Selling The Codes To Other People For Money Is Strictly Prohibited. Or i will stop this project forever.