Skip to content

Al3x-GitHub/ZeroTwo

Repository files navigation

─「 𝑍𝑒𝑟𝑜 𝑇𝑤𝑜 」─

A least Give A Star and Fork The Repo.

Zero Two Logo

─「 𝐹𝑒𝑎𝑡𝑢𝑟𝑒𝑠 」─

  • Auto Filter
  • Manual Filter
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Inline Search
  • Random pics
  • ids and User info
  • Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel
  • Spelling Check Feature
  • File Store

─「 𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑑 𝑉𝑎𝑟𝑖𝑎𝑏𝑙𝑒𝑠 」─

  • 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. For more help watch this video
  • DATABASE_NAME: Name of the database in 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.

─「 𝑂𝑝𝑡𝑖𝑜𝑛𝑎𝑙𝑙𝑦 𝑉𝑎𝑟𝑖𝑎𝑏𝑙𝑒𝑠 」─

  • PICS: Telegraph links of images to show in start message.( Multiple images can be used separated by space )
  • FILE_STORE_CHANNEL: Channel from were file store links of posts should be made.Separate multiple IDs by space

─「 𝐷𝑒𝑝𝑙𝑜𝑦 」─

Deploy To Bot

Deploy To Heroku

Deploy To VPS

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

─「 𝐶𝑜𝑚𝑚𝑎𝑛𝑑𝑠 」─

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

Telegram Telegram

ForTheBadge built-with-love

𝖢𝗈𝗉𝗒𝗋𝗂𝗀𝗁𝗍 | Iᴢυɱi 和泉