Coder Social home page Coder Social logo

allixina / misskatypyro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yasirarism/misskatypyro

0.0 0.0 0.0 20.64 MB

A Very Useful Telegram Bot That Has Some Great Feature

License: GNU General Public License v2.0

Shell 0.01% Python 99.88% HTML 0.03% Dockerfile 0.09%

misskatypyro's Introduction

MissKatyPyro

MIT License Repository Size Issue Closed

Readme in Indonesian View Demo Report bug Request feature

Table of Contents

[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)
๐ŸŒฑ Python 3.11 Support
๐ŸŒฑ MongoDB as Database
๐ŸŒฑ PyKeyboard for Building Pagination
๐ŸŒฑ VS Code
๐ŸŒฑ VPS/Server With Docker Support (Recommended)

[3] Donation and Support

For Indonesian Only and some supported country:
๐ŸŒฑ QRIS

For International Payment:
๐ŸŒฑ Paypal

[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 (Unfinished) โš ๏ธ
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, 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

[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.
    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 and dont forget fill all required value.
  • 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>

[8] 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..

[9] 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.

misskatypyro's People

Contributors

yasirarism avatar deepsource-autofix[bot] avatar sourcery-ai[bot] avatar deepsourcebot avatar deepsource-io[bot] avatar hinqiwame avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.