/LanaDelReybyM3SUK

This is Telegram AutoFilter Bot and More helpful Features 🚀

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Typing SVG

LANA DEL REY

LanaDelRey

Stars Forks Size
Open Source Love svg2
Contributors License Sparkline

Features

  • 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
  • Custom File Caption

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. 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.
  • Support Chat : Username of a Support Group / ADMIN. ( Should be username without @ and not ID

Optional Variables

  • PICS: Telegraph links of images to show in start message.( Multiple images can be used seperated by space )
  • USE_CAPTION_FILTER : Whether bot should use captions to improve search results. (True False)
  • CUSTOM_FILE_CAPTION : A custom file caption for your files. formatable with , file_name, file_caption, file_size, Read Readme.md for better understanding
  • CACHE_TIME : The maximum amount of time in seconds that the result of the inline query may be cached on the server
  • IMDB : Imdb, the view of information when making True/False
  • SINGLE_BUTTON : choose b/w single or double buttons https://github.com/EvamariaTG/EvaMaria/issues/22
  • P_TTI_SHOW_OFF : Customize Result Buttons to Callback or Url by (True = url / False = callback)

Deploy

Deploy

Deploy To VPS

git clone https://github.com/TarikulMesuk/LanaDelRey

# Install Packages

pip3 install -r requirements.txt

Edit info.py with variables as given below then run bot

python3 bot.py

Commands

start - check bot alive
ping - pong
settings - get settings 
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_user  - to ban a user.
unban_user  - to unban a user.
channel - to get list of total connected channels
dyno - check dyno status ADMIN Only
broadcast - to broadcast a message to all Eva Maria users

Original Repo

Credits

  • EvaMaria-Devs

Spacial Thanks To

TELAGRAM SUPPORT

  • mesukTarikul1000

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.