GithubHelp home page GithubHelp logo

ash-codes18 / telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 4.0 312 KB

A multi usage telegram bot written in python using pyrogram

Home Page: https://t.me/ashmulti_bot

License: MIT License

Python 100.00%
anime-api beautifulsoup4 github leech-bot multi-use music pexels-api piratebay pyrogram spotify

telegram-bot's Introduction



γ€Œ A Pyrogram based Telegram Bot with multiple features. Access the Live Demo at Bot」


πŸ’‘ Features

  • Easy To Use With Bot Commands.
  • Audio and Video Download support for YouTube and 2000 More Sites πŸ˜‰
  • Search Youtube and Spotify
  • Download Songs
  • Search Github
  • Search Google, Bing, DuckDuckGo, Yandex and the entire web
  • Search Images from Google, Bing, DuckDuckGo, Yandex and the entire web
  • Search Unsplash and Pexels for images
  • Search Pexels for Videos
  • Search The Piratebay for Torrents.
  • Get several category anime images
  • Get image posts from reddit
  • And many more...πŸ”₯

πŸŽ“ Bot Setup

To set up this bot, you need to provide your bot credentials, API keys, and other necessary details. Here are the steps:

  1. Replace api_id, api_hash, and bot_token with your bot's credentials.
  2. Replace api_key with your YouTube Data API v3 key.
  3. Replace client_id and client_secret with your Spotify API credentials.
  4. Replace UNSPLASH_ACCESS_KEY with your Unsplash API access key.
  5. Replace PEXELS_API_KEY with your Pexels API key.
  6. Replace GAPI_KEY with your Google Custom Search Engine API key.
  7. Replace SEARCH_ENGINE_ID, BING_ENGINE_ID, YANDEX_ENGINE_ID, DDG_ENGINE_ID, and WEB_ENGINE_ID with your Google Custom Search Engine IDs.

πŸ¦‰ Optional

  1. Add Subreddits of your choice for the /reddit and /mreddit commands
  2. Replace THEPIRATEBAY_URL with any ThePirateBay URL of your choice or leave as is.
  3. Specify count for number of media to send for and search and upload modules as per your requirement.

πŸ“ How to Deploy?

πŸ€– Bot Commands To Set Β»

start - To get the list of available commands 🧐.
ping - To check  if I am alive πŸ“².
general - to get the most used commands πŸ’₯.
anime - to get all anime related commands πŸ“›.
browse - to get all web searching commands πŸ”“.
meme - to get a meme πŸ˜‚.
reddit - to get something from reddit πŸ’Š.
manymeme- to get many memes 🀑.
mreddit - to fetch many things from reddit 🌈.
quote - to get an anime quote πŸ‘€.
mquote - to get many anime quotes πŸ§“.

NOTE: Bot will work in both private and group chats, so Feel free to add the bot in groups!

βš™οΈ About The Credentials Β»

  • API_ID Β» Your Telegram API ID, Can Be Found Here.
  • API_HASH Β» Your Telegram API HASH, Can Also Be Found Here.
  • BOT_TOKEN Β» Create a Telegram Bot From Here, Then Paste The Bot Token

πŸ’» Local Machine Β»

  1. Open Terminal
  2. Clone the repository by running the command
git clone https://github.com/ash-codes18/Telegram-bot
  1. Enter the directory by running cd Telegram-bot
  2. Now, run the following command: pip install -r requirements.txt
  3. Fill in your details in a main.py file as given in the Bot Setup
  4. Run the bot using python3 main.py

🟠 On Google Colab »

C O M I N G S O O N

πŸ”₯ Benefits

  • No need of VPS or RDP use locally or directly on Google Colab.
  • Immersive Network speed in Google Servers
  • Unlimited Storage in Telegram
  • Upload Files of size up to 2000 MB

🚨 Usage

To use this bot, simply start a chat with it and use the commands as described in the Start Message.

πŸ’— Contributing

Contributions are welcome! Please feel free to submit a pull request.

βš–οΈLicense

This bot is licensed under the MIT License.

πŸ€™πŸΌ Connect With Me


Please Leave a 🌟 If this repo Helped you

telegram-bot's People

Contributors

ash-codes18 avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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