/Stock-af-v5

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

π˜Ώπ™Œ π˜½π™Šπ™

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 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