Kichuprozz / Tovinobotv3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐™๐™Š๐™‘๐™„๐™‰๐™Š ๐˜ฝ๐™Š๐™

Features

  • Auto Filter
  • Manual Filter
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Pm File search
  • Inline Search
  • Single Start pic
  • ids and User info
  • Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel
  • Spelling Check Feature
  • File Store
  • Carbon
  • Sticker id
  • Lyrics , Song
  • TTS
  • Redirect Chat
  • Covid
  • Totally Customisable Bot

๐— ๐—จ๐—ฆ๐—ง ๐——๐—ข

๐˜ฝ๐™€๐™๐™Š๐™๐™€ ๐˜ฟ๐™€๐™‹๐™‡๐™Š๐™” ๐™”๐™Š๐™ ๐™ˆ๐™๐™Ž๐™ ๐™€๐˜ฟ๐™„๐™ ๐™‡๐™„๐™‰๐™† ๐™„๐™‰ ๐™๐™ƒ๐™„๐™Ž ๐™‡๐™„๐™‰๐™€ ๐™๐™Š ๐™”๐™Š๐™๐™ ๐™๐™€๐˜ฟ๐™„๐™๐™€๐˜พ๐™ ๐˜พ๐™ƒ๐˜ผ๐™‰๐™‰๐™€๐™‡ ๐™‡๐™„๐™‰๐™† . ๐™Š๐™๐™ƒ๐™€๐™๐™’๐™„๐™Ž๐™€ ๐™”๐™Š๐™ ๐˜พ๐˜ผ๐™‰๐™ ๐™๐˜ผ๐™†๐™€ ๐™๐™„๐™‡๐™€๐™Ž ๐™๐™๐™Š๐™ˆ ๐˜พ๐™ƒ๐˜ผ๐™‰๐™‰๐™€๐™‡

๐™๐™ƒ๐™€๐™๐™€ ๐™Ž๐™Š๐™ˆ๐™€ ๐˜ฝ๐™๐™‚๐™Ž , ๐™๐™Š๐™๐™† ๐˜ผ๐™‰๐˜ฟ ๐˜ฟ๐™€๐™‹๐™‡๐™Š๐™” ๐™๐™Š๐™ ๐™‰๐™Š๐™’. ๐™’๐™„๐™‡๐™‡ ๐˜ฝ๐™€ ๐™๐™„๐™“๐™€๐˜ฟ ๐Ÿคง

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
  • CHANNELS: Username or ID of channel or group. Separate multiple IDs by space
  • ADMINS: Username or ID of Admin. Separate multiple Admins by space
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB.
  • DATABASE_NAME: Name of the database in mongoDB.
  • DELETE_TIME : Autodelete Time in seconds
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.
  • AUTH_CHANNEL : Custom Fsub Channel , Redirect Channel Too

Optional Variables

  • PICS: Telegraph link of image to show in start message.( Multiple images can't be used )
  • REDIRECT_TO : Redirect Var Set value 0 if Redirect not required
  • FILE_STORE_CHANNEL: Channel from were file store links of posts should be made.Separate multiple IDs by space
  • Check info.py in this code for more variables

Deploy

You can deploy this bot anywhere.

Deploy

Deploy To VPS

git clone https://github.com/DKBOTx/TovinoBotV3
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

๐™๐™Š๐™๐™† ๐˜ผ๐™‰๐˜ฟ ๐™‚๐™„๐˜ฝ ๐™Ž๐™Š๐™ˆ๐™€ ๐™Ž๐™๐˜ผ๐™๐™Ž ๐Ÿ˜๐Ÿ˜Š

Commands

โ€ข /logs - to get the rescent errors
โ€ข /stats - to get status of files in db.
* /filter - add manual filters
* /filters - view filters
* /connect - connect to PM.
* /disconnect - disconnect from PM
* /del - delete a filter
* /delall - delete all filters
* /deleteall - delete all index(autofilter)
* /delete - delete a specific file from index.
* /info - get user info
* /id - get tg ids.
* /imdb - fetch info from imdb.
โ€ข /users - to get list of my users and ids.
โ€ข /chats - to get list of the my chats and ids 
โ€ข /index  - to add files from a channel
โ€ข /leave  - to leave from a chat.
โ€ข /disable  -  do disable a chat.
* /enable - re-enable chat.
โ€ข /ban  - to ban a user.
* /carbon - create carbon
* /settings - customise chat settings
* /tts - text to speech
* /short - link shorter
โ€ข /unban  - to unban a user.
โ€ข /channel - to get list of total connected channels
โ€ข /broadcast - to broadcast a message to all Eva Maria users
โ€ข /batch - to create link for multiple posts
โ€ข /link - to create link for one post

Support

๐˜ฟ๐™†_๐˜ฝ๐™Š๐™๐™ญ

Bot

๐™๐™ค๐™ซ๐™ž๐™ฃ๐™ค ๐˜ฝ๐™ค๐™ฉ

Credits

Thanks to

Note

๐˜Š๐˜ณ๐˜ฆ๐˜ข๐˜ต๐˜ฐ๐˜ณ

Kanging this codes and and editing a few lines and releasing a V.x or an alpha, beta , gama branches of your repo won't make you a Developer. Fork the repo and edit as per your needs. ๐˜›๐˜ฉ๐˜ฆ๐˜ด๐˜ฆ ๐˜ข๐˜ณ๐˜ฆ ๐˜ญ๐˜ช๐˜ฏ๐˜ฆ๐˜ด ๐˜ง๐˜ณ๐˜ฐ๐˜ฎ ๐˜ฆ๐˜ท๐˜ข ๐˜ฅ๐˜ฆ๐˜ท๐˜ด , ๐˜ช๐˜ต๐˜ด ๐˜ณ๐˜ช๐˜จ๐˜ฉ๐˜ต ๐˜ข๐˜ฃ๐˜ฐ๐˜ถ๐˜ต ๐˜ฎ๐˜ฆ .

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

๐™๐™๐™„๐˜ฝ๐™๐™๐™€ ๐™๐™Š

๐˜๐˜ฐ๐˜ณ ๐˜›๐˜ฉ๐˜ฐ๐˜ด๐˜ฆ ๐˜จ๐˜ถ๐˜บ๐˜ด ๐˜ด๐˜ต๐˜ฐ๐˜ญ๐˜ฆ ๐˜ค๐˜ฐ๐˜ฅ๐˜ฆ๐˜ด ๐Ÿฅฒ๐Ÿคง

About

License:GNU General Public License v2.0


Languages

Language:Python 99.7%Language:Shell 0.2%Language:Dockerfile 0.1%