Giter Club home page Giter Club logo

imdb-movie-bot's Introduction

Telegram Movie Bot

Features

  • Auto Filter
  • Manuel 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

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

Optional Variables

  • IMDB: Imdb, the view of information when making True/False.
  • SINGLE_BUTTON: choose b/w single or double buttons True/False.

larger result buttons

larger results will be better for reading.

at now: 139601786-7af37bab-549d-4f96-a65f-96e2d09b5ce0

add optional larger result buttons: 139601808-04b7726e-3e58-48a1-bb1a-d946f1d3fdcd

  • P_TTI_SHOW_OFF: Customize Result Buttons to Callback or Url by (True = url / False = callback).
  • 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
  • Check info.py for more

Deploy

You can deploy this bot anywhere.

Deploy to Heroku


Deploy

Deploy to Railway

Deploy to VPS

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

Admin 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.
* /batch - to create link for multiple posts
* /link - to create link for one post
* /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_users - to ban a user.
• /unban_users - to unban a user.
• /channel - to get list of total connected channels
• /broadcast - to broadcast a message to all Eva Maria users

Support

telegram badge telegram badge

Credits

  • Zaute-Km

Thanks to

Disclaimer

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

imdb-movie-bot's People

Contributors

mesuk2043 avatar zautekm 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.