mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
tes
This commit is contained in:
parent
7dd9ffc7a9
commit
5b716fed1c
3 changed files with 201 additions and 38 deletions
168
README.id.md
168
README.id.md
|
|
@ -5,14 +5,31 @@
|
|||
|
||||
<!--Project Title Image-->
|
||||
<p align="center">
|
||||
![MissKatyPyro][project-img-url]
|
||||
<img src="https://repository-images.githubusercontent.com/433350689/26cb713b-43c3-4dec-94cb-6c80599547e8" width="200" height="200"/>
|
||||
</p>
|
||||
|
||||
<!--Project Buttons-->
|
||||
[![Readme in Indonesian][readme-ko-shield]][readme-ko-url] [![View Demo][view-demo-shield]][view-demo-url] [![Report bug][report-bug-shield]][report-bug-url] [![Request feature][request-feature-shield]][request-feature-url]
|
||||
|
||||
<!--Table of Contents-->
|
||||
# Table of Contents
|
||||
- [[1] About MissKaty](#1-about-misskaty)
|
||||
- [[2] Framework Tools And Server That Used To Build This Bot](#2-framework-tools-and-server-that-used-to-build-this-bot)
|
||||
- [[3] Donation](#3-donation)
|
||||
- [[4] Notes](#4-notes)
|
||||
- [[5] Features](#5-features)
|
||||
- [[6] Variables](#6-variables)
|
||||
- [[7] Deploying Tutorial](#7-deploy-recommended-using-dockerdocker-compose)
|
||||
- [Build And Run Using Legacy Method](#build-and-run-using-legacy-method)
|
||||
- [Build And Run Using Docker](#build-and-run-using-docker)
|
||||
- [Build And Run The Docker Image Using docker-compose](#build-and-run-the-docker-image-using-docker-compose)
|
||||
- [[8] Credits](#8-thanks-to)
|
||||
- [[9] Disclaimer](#8-disclaimer)
|
||||
|
||||
## FRAMEWORK, TOOLS AND SERVER THAT USED TO BUILD THIS BOT
|
||||
# [1] About MissKaty
|
||||
*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.
|
||||
|
||||
## [2] Framework Tools And Server That Used To Build This Bot
|
||||
🌱 PyroFork v2.x.x (Fork of Pyrogram with Topics Support and Some Patch)<br>
|
||||
🌱 Python 3.11 Support<br>
|
||||
🌱 MongoDB as Database<br>
|
||||
|
|
@ -20,19 +37,139 @@
|
|||
🌱 VS Code<br>
|
||||
🌱 VPS/Server With Docker Support (Recommended)<br>
|
||||
|
||||
## [3] Donation
|
||||
*For Indonesian Only:*
|
||||
🌱 ![QR QRIS (Yasir Store)][qris-url]
|
||||
🌱 Bank Jago (Yasir Aris M)] = 109641845083
|
||||
🌱 ![Saweria][saweria-url]
|
||||
🌱 ![Trakteer][trakteer-url]
|
||||
|
||||
*For All Payment:*
|
||||
🌱 ![Sociabuzz][sociabuzz-url]
|
||||
🌱 ![Paypal][paypal-url]
|
||||
🌱 ![Ko-Fi][kofi-url]
|
||||
|
||||
## [4] 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. You can also give support to me for buying server.
|
||||
|
||||
## [5] Features
|
||||
|
||||
| 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.. |✔️|
|
||||
|
||||
## [6] Variables
|
||||
|
||||
### Required Variables
|
||||
* `BOT_TOKEN`: Create a bot using [@BotFather](https://t.me/BotFather), and get the Telegram API token.
|
||||
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)
|
||||
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)
|
||||
* `DATABASE_URI`: [mongoDB](https://www.mongodb.com) URI. Get this value from [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo)
|
||||
* `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
|
||||
|
||||
## [7] Tutorial Deploy (Recommended using Docker/Docker Compose)
|
||||
|
||||
#### 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.<br/>
|
||||
*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>
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
|
||||
## Terimakasih untuk
|
||||
- Terima kasih kepada Allah Swt.
|
||||
- Terima kasih Dan Untuk [Pyrogram Library] nya (https://github.com/pyrogram/pyrogram).
|
||||
- Terima kasih kepada [The Hamker Cat](https://github.com/TheHamkerCat) Untuk Kode WilliamButcher.
|
||||
- Terima kasih kepada [Team Yukki](https://github.com/TeamYukki) Untuk Kode Bot AFK.
|
||||
- Terima kasih kepada [Wrench](https://github.com/EverythingSuckz) Untuk Beberapa Kode.
|
||||
- Terima kasih kepada [AmanoTeam](https://github.com/AmanoTeam) Untuk Template MultiBahasa.
|
||||
- Dan Semua Orang Yang Membantuku Dalam Hidupku...
|
||||
Jika kode Anda digunakan dalam repo ini dan ingin memberikan kredit, silakan buka issue di repo ini..
|
||||
## [8] Thanks to
|
||||
- Thanks To Allah Swt.
|
||||
- Thanks To Dan For His Awesome [Library](https://github.com/pyrogram/pyrogram).
|
||||
- Thanks To [The Hamker Cat](https://github.com/TheHamkerCat) For WilliamButcher Code.
|
||||
- Thanks To [Team Yukki](https://github.com/TeamYukki) For AFK Bot Code.
|
||||
- Thanks To [Wrench](https://github.com/EverythingSuckz) For Some Code.
|
||||
- Thanks To [AmanoTeam](https://github.com/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
|
||||
## [9] Disclaimer
|
||||
[](https://www.gnu.org/licenses/agpl-3.0.en.html#header)
|
||||
Licensed under [GNU AGPL 2.0.](https://github.com/yasirarism/MissKatyPyro/blob/master/LICENSE)
|
||||
WARNING: Selling The Codes To Other People For Money Is *Strictly Prohibited*. God always sees you.
|
||||
|
|
@ -53,4 +190,9 @@ WARNING: Selling The Codes To Other People For Money Is *Strictly Prohibited*. G
|
|||
|
||||
<!--URLS-->
|
||||
[readme-ko-url]: README.md
|
||||
[project-img-url]: https://repository-images.githubusercontent.com/433350689/26cb713b-43c3-4dec-94cb-6c80599547e8
|
||||
[kofi-url]: https://ko-fi.com/yasirarism
|
||||
[paypal-url]: https://paypal.me/yasirarism
|
||||
[qris-url]: https://telegra.ph/file/2acf7698f300ef3d9138f.jpg
|
||||
[sociabuzz-url]: https://sociabuzz.com/yasirarism/tribe
|
||||
[saweria-url]: https://saweria.co/yasirarism
|
||||
[trakteer-url]: https://trakteer.id/yasir-aris-sp7cn
|
||||
65
README.md
65
README.md
|
|
@ -5,13 +5,31 @@
|
|||
|
||||
<!--Project Title Image-->
|
||||
<p align="center">
|
||||
![MissKatyPyro][project-img-url]
|
||||
<img src="https://repository-images.githubusercontent.com/433350689/26cb713b-43c3-4dec-94cb-6c80599547e8" width="200" height="200"/>
|
||||
</p>
|
||||
|
||||
<!--Project Buttons-->
|
||||
[![Readme in Indonesian][readme-ko-shield]][readme-ko-url] [![View Demo][view-demo-shield]][view-demo-url] [![Report bug][report-bug-shield]][report-bug-url] [![Request feature][request-feature-shield]][request-feature-url]
|
||||
|
||||
## FRAMEWORK, TOOLS AND SERVER THAT USED TO BUILD THIS BOT
|
||||
<!--Table of Contents-->
|
||||
# Table of Contents
|
||||
- [[1] About MissKaty](#1-about-misskaty)
|
||||
- [[2] Framework Tools And Server That Used To Build This Bot](#2-framework-tools-and-server-that-used-to-build-this-bot)
|
||||
- [[3] Donation](#3-donation)
|
||||
- [[4] Notes](#4-notes)
|
||||
- [[5] Features](#5-features)
|
||||
- [[6] Variables](#6-variables)
|
||||
- [[7] Deploying Tutorial](#7-deploy-recommended-using-dockerdocker-compose)
|
||||
- [Build And Run Using Legacy Method](#build-and-run-using-legacy-method)
|
||||
- [Build And Run Using Docker](#build-and-run-using-docker)
|
||||
- [Build And Run The Docker Image Using docker-compose](#build-and-run-the-docker-image-using-docker-compose)
|
||||
- [[8] Credits](#8-thanks-to)
|
||||
- [[9] Disclaimer](#8-disclaimer)
|
||||
|
||||
# [1] About MissKaty
|
||||
*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.
|
||||
|
||||
## [2] Framework Tools And Server That Used To Build This Bot
|
||||
🌱 PyroFork v2.x.x (Fork of Pyrogram with Topics Support and Some Patch)<br>
|
||||
🌱 Python 3.11 Support<br>
|
||||
🌱 MongoDB as Database<br>
|
||||
|
|
@ -19,22 +37,22 @@
|
|||
🌱 VS Code<br>
|
||||
🌱 VPS/Server With Docker Support (Recommended)<br>
|
||||
|
||||
## DONATION
|
||||
For Indonesian Only:
|
||||
## [3] Donation
|
||||
*For Indonesian Only:*
|
||||
🌱 ![QR QRIS (Yasir Store)][qris-url]
|
||||
🌱 Bank Jago (Yasir Aris M)] = 109641845083
|
||||
🌱 ![Saweria][saweria-url]
|
||||
🌱 ![Trakteer][trakteer-url]
|
||||
|
||||
*For All Payment:*
|
||||
🌱 ![Sociabuzz][sociabuzz-url]
|
||||
🌱 ![Paypal][paypal-url]
|
||||
🌱 ![Ko-Fi][kofi-url]
|
||||
|
||||
For International Payment:
|
||||
## [4] 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. You can also give support to me for buying server.
|
||||
|
||||
|
||||
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](https://t.me/MissKatyRoBot)
|
||||
|
||||
## Features and Give Support
|
||||
## [5] Features
|
||||
|
||||
| FEATURE MY BOT |🌱|
|
||||
| ------------- | ------------- |
|
||||
|
|
@ -53,9 +71,7 @@ You can check demo this repo in this bot [MissKatyPyro](https://t.me/MissKatyRoB
|
|||
| GenSS From Media and MediaInfo Generator |✔️|
|
||||
| And Many More.. |✔️|
|
||||
|
||||
* Please open this web https://yasirpedia.eu.org/ to know about me or support me.
|
||||
|
||||
## Variables
|
||||
## [6] Variables
|
||||
|
||||
### Required Variables
|
||||
* `BOT_TOKEN`: Create a bot using [@BotFather](https://t.me/BotFather), and get the Telegram API token.
|
||||
|
|
@ -72,7 +88,7 @@ You can check demo this repo in this bot [MissKatyPyro](https://t.me/MissKatyRoB
|
|||
* `OPENAI_API`: Get it from OpenAI Web
|
||||
* `CURRENCY_API`: Get API Key from https://app.exchangerate-api.com/sign-up
|
||||
|
||||
## Deploy (Recommended using Docker/Docker Compose)
|
||||
## [7] Tutorial Deploy (Recommended using Docker/Docker Compose)
|
||||
|
||||
#### Build And Run Using Legacy Method
|
||||
- Make sure minimum python version is 3.8 to prevent some errors. Check it with this command:
|
||||
|
|
@ -143,7 +159,7 @@ sudo docker-compose stop <pid>
|
|||
----
|
||||
|
||||
|
||||
## Thanks to
|
||||
## [8] Thanks to
|
||||
- Thanks To Allah Swt.
|
||||
- Thanks To Dan For His Awesome [Library](https://github.com/pyrogram/pyrogram).
|
||||
- Thanks To [The Hamker Cat](https://github.com/TheHamkerCat) For WilliamButcher Code.
|
||||
|
|
@ -153,7 +169,7 @@ sudo docker-compose stop <pid>
|
|||
- 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
|
||||
## [9] Disclaimer
|
||||
[](https://www.gnu.org/licenses/agpl-3.0.en.html#header)
|
||||
Licensed under [GNU AGPL 2.0.](https://github.com/yasirarism/MissKatyPyro/blob/master/LICENSE)
|
||||
WARNING: Selling The Codes To Other People For Money Is *Strictly Prohibited*. God always sees you.
|
||||
|
|
@ -174,4 +190,9 @@ WARNING: Selling The Codes To Other People For Money Is *Strictly Prohibited*. G
|
|||
|
||||
<!--URLS-->
|
||||
[readme-ko-url]: README.id.md
|
||||
[project-img-url]: https://repository-images.githubusercontent.com/433350689/26cb713b-43c3-4dec-94cb-6c80599547e8
|
||||
[kofi-url]: https://ko-fi.com/yasirarism
|
||||
[paypal-url]: https://paypal.me/yasirarism
|
||||
[qris-url]: https://telegra.ph/file/2acf7698f300ef3d9138f.jpg
|
||||
[sociabuzz-url]: https://sociabuzz.com/yasirarism/tribe
|
||||
[saweria-url]: https://saweria.co/yasirarism
|
||||
[trakteer-url]: https://trakteer.id/yasir-aris-sp7cn
|
||||
|
|
@ -85,17 +85,17 @@ async def log_file(self: Client, ctx: Message, strings) -> "Message":
|
|||
|
||||
@app.on_message(filters.command(["donate"], COMMAND_HANDLER))
|
||||
async def donate(client, ctx):
|
||||
keyboard = InlineKeyboard(row_width=3)
|
||||
keyboard = InlineKeyboard(row_width=2)
|
||||
keyboard.add(
|
||||
InlineButton('QR QRIS [Yasir Store]', url='https://telegra.ph/file/2acf7698f300ef3d9138f.jpg'),
|
||||
InlineButton('Bank Jago [Yasir Aris M]', '109641845083'),
|
||||
InlineButton('Sociabuzz', 'https://sociabuzz.com/yasirarism/tribe'),
|
||||
InlineButton('Saweria', url='https://saweria.co/yasirarism'),
|
||||
InlineButton('Trakteer', url='https://trakteer.id/yasir-aris-sp7cn'),
|
||||
InlineButton('Ko-Fi', url='https://ko-fi.com/yasirarism'),
|
||||
InlineButton('PayPal', url='https://paypal.me/yasirarism'),
|
||||
)
|
||||
await ctx.reply(
|
||||
f"Hai {ctx.from_user.mention}, jika kamu merasa bot ini besrguna bisa melakukan donasi dengan ke rekening diatas yaa. Karena server bot ini tidaklah gratis. Terimakasih..\n\nHi {ctx.from_user.mention}, if you feel this bot is useful, you can make a donation to the account above. Because this bot server is not free. Thank you..", reply_markup=keyboard
|
||||
f"Hai {ctx.from_user.mention}, jika kamu merasa bot ini besrguna bisa melakukan donasi dengan ke rekening diatas yaa (disarankan menggunakan QRIS atau Sociabuzz). Karena server bot ini menggunakan VPS dan tidaklah gratis. Terimakasih..\n\nHi {ctx.from_user.mention}, if you feel this bot is useful, you can make a donation to the account above (Use PayPal, SociaBuzz, or Ko-Fi). Because this bot server is hosted in VPS and not free. Thank you..", reply_markup=keyboard
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue