Skip to content

A flexible Telegram bot that allows you to easily add new features through plugins. Manage multiple functionalities in a single bot without the need to store and maintain several bots.

License

Notifications You must be signed in to change notification settings

NKTKLN/UniversalBot

Repository files navigation

♾️ Universal Bot

🗒 Description

This bot was created with the goal of simplifying the development and usage of Telegram bots. It allows you to easily add new features through plugins, integrating them into a single main bot. This eliminates the need to store and manage multiple bots with different functionalities in your Telegram account.

💾 Prerequisites

⚙️ Bot Configuration

Before starting, make sure to edit the .env file with your own configuration.

Example:

# Telegram Bot Settings
BOT_TOKEN="110201544:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw"
OWNER_ID=1234567890

# Database settings
DATABASE_URL="sqlite+aiosqlite:///db/database.db"

You can get your bot token by contacting @BotFather on Telegram.

📝 Plugin Documentation

If you want to create your own plugins, you can find the documentation for writing plugins in the following file: custom plugin documentation.

🐳 Run in Docker

docker compose up --build -d

📝 ToDo

  • Add the ability to store plugin data in the database
  • Add the ability to update the bot in the settings

📃 License

All my apps are released under the MIT license, see LICENSE.md for full text.

About

A flexible Telegram bot that allows you to easily add new features through plugins. Manage multiple functionalities in a single bot without the need to store and maintain several bots.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published