dsuqi-A / tgbot

This Telegram bot is built using the python-telegram-bot library and performs various tasks within Telegram.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tgbot

This Telegram bot is built using the python-telegram-bot library version 20.7 and performs various tasks within Telegram.

_check = "Does the user Starred & forked the repository?"
if _check:
    print("Thanks you ❤️ for sharing love & giving me inspiration...")
else:
    print("Please 🥺 give a star to this repo! ...And fork it if you want to work with this repo!")

- Fun fact: _check will always return True! [ becasue you (gave/will give) a star & forked the repo lol ] Thanks :)

Features ✨:

  • ChatGPT AI: Get response from ChatGPT AI
  • AI Imazine: Generate image from your prompt
  • Group Management: Manage Group as an active admin
    • Welcome user, notify when user leave
    • Moderation: ban, unban, mute, unmute, kick, kickme...
    • Antibot, etc.
    • many more feature...
  • YouTube Download Download/Search videos from YouTube
  • Movie Info: Provide movie information
  • Language Translator: Translate languages
  • Encode/Decode base64: Encode/decode base64
  • URL Shortener: Shorten URLs using shrinke.me api
  • Ping Website Ping any URL
  • Calculator: Works as everyday calculator
  • Echo: Echo your message for fun
  • Webshot Take website screenshot
  • Weather Provide weather information
  • & Much more...

More Feature coming soon...

• • • • • • • • • • • • • • • • • • • •

How to Deploy 🚀:

Setup 📦
  • Fillup sample_config.env file value's

  • bot_token Get from https://t.me/BotFather E.g. 123456:abcdefGHIJK...

  • owner_id Get from bot by /id command E.g. 2134776547

  • owner_username Your Username E.g. paste like bishalqx980 not @bishalqx980

  • ❗ OPTIONAL | support_chat Your bot support chat invite link

  • mongodb_uri Get from https://www.mongodb.com/

  • db_name anything E.g. MissCiri_db

  • server_url E.g. for render it will be https://your_app_name.onrender.com/

  • ❗ OPTIONAL | shortener_api_key Get from https://shrinkme.io/

  • ❗ OPTIONAL | omdb_api Get from https://www.omdbapi.com/

  • ❗ OPTIONAL | weather_api_key Get from https://www.weatherapi.com/

  • chatgpt_limit E.g. 10

  • ai_imagine_limit E.g. 10

  • usage_reset E.g. 24 (in hour)


    Local Deploy 🚀
    • Required python 3.11 or later
    • Open tgbot directory on cmd
    • Run on cmd pip install -r requirements.txt
    • Finally python main.py
    Render Deploy 🚀
    `Branch` main
    
    `Runtime` Python 3
    
    `Build Command` pip install -r requirements.txt
    
    `Start Command` python main.py
    
    `Instance Type` Free (maybe paid)
    
    ⚠ Advanced option > `Add secret file` filename: `config.env` - file content: paste all content from `sample_config.env` (make sure you filled up everything)
    
    **Finally click on Create Web Service & wait few sec for deployment & Done | Enjoy 🎉**
    

License

GPL-3.0 © @bishalqx980
Original Creator - bishalqx980

About

This Telegram bot is built using the python-telegram-bot library and performs various tasks within Telegram.

https://t.me/MissCiri_bot

License:GNU General Public License v3.0


Languages

Language:Python 99.2%Language:HTML 0.8%