Skip to content

Repository files navigation

ZeusAi Manager

ZeusAi Manager is a Telegram Bot built using Python and the Pyrogram library. Many useful features for us to use. I hope that one day this project will be discontinued, someone will continue or develop it again.

Framework Tools And Server That Used To Build This Bot

  • PyroFork v2.x.x (Fork of Pyrogram with Topics, Stories Support and Some Patch)
  • Python 3.11 Support
  • MongoDB as Database
  • PyKeyboard for Building Pagination
  • VS Code
  • VPS/Server With Root and Docker Support (Recommended)

Features

FEATURE MY BOT 🌱
Basic Admin Feature ✔️
AFK Feature ✔️
Downloader FB, TikTok and YT-DLP Support ✔️
Shortner bypasser ✔️
Urban Dictionary ✔️
Federation ✔️
NightMode ✔️
ChatBot based on OpenAI and Google Bard ✔️
Inline Search ✔️
Sticker Tools ✔️
PasteBin Tools ✔️
Reference code - WordPress REST API (For Posting Movies in Wp) ✔️
Reference code CloudFlare R2 ✔️
And Many More.. ✔️

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
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB.
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.

Optional Variables

  • USER_SESSION : Session string for Userbot.
  • DATABASE_NAME: Name of the database in MongoDB
  • COMMAND_HANDLER: List of handler bot command splitted by space. Ex: . ! > so bot will respond with .cmd or !cmd
  • SUDO: User ID that have access to bot, split by space
  • OPENAI_API: Get it from OpenAI Web
  • BARD_API: Learn from this https://github.com/dsdanielpark/Bard-API to get cookies and set it as api key.
  • CURRENCY_API: Get API Key from https://app.exchangerate-api.com/sign-up

Install Locally Or On A VPS

~$ git clone https://github.com/thehamkercat/WilliamButcherBot
~$ cd WilliamButcherBot
~$ pip3 install -U -r requirements.txt
~$ cp sample_config.py config.py

Edit config.py with your own values

Run Directly

~$ python3 -m zib

Generating Pyrogram Session For Heroku

~$ git clone https://github.com/thehamkercat/WilliamButcherBot
~$ cd WilliamButcherBot
~$ pip3 install pyrogram TgCrypto
~$ python3 str_gen.py

Contributing

Contributions are highly encouraged and always welcome! We believe in the power of open-source and community collaboration. Whether you are fixing a bug, adding a new feature, or improving the documentation, your help is appreciated.

How to contribute:

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature/my-new-feature
  3. Commit your changes: git commit -m 'feat: Add some amazing feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Open a Pull Request!

Write new modules

# Add license text here, get it from below

from zib import app # This is bot's client
from zib import app2 # userbot client, import it if module is related to userbot
from pyrogram import filters # pyrogram filters
...


# For /help menu
__MODULE__ = "Module Name"
__HELP__ = "Module help message"


@app.on_message(filters.command("start"))
async def some_function(_, message):
    await message.reply_text("I'm already up!!")

# Many useful functions are in, zib/utils/, zib, and zib/core/

Credits

About

[No Longer Maintenance] A Very Useful Telegram Bot That Has Some Great Feature [Base Code: WilliamButcherBot]

Topics

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages