Skip to content

mamaddeveloper/teleadmin

Repository files navigation

TelegramBot

Installing

Python version 3.

The python library Requests is required.

For now, you'll have to run the installer like this :

python3 main.py --install [token]

Launching the bot

python3 main.py [--purge]

Adding a module

To create a new module, create a file "modules/mod_<mod_name>.py". A module is a class named Module<ModuleName> which inherits ModuleBase. Each ModuleBase's functions are called by the bot, in an event-like manner. You can override any of them to create you own bot.

Removing a module

To remove a module, remove the file in the "modules/" folder. If you want to keep a module but don't want to load it, you can edit the "botTest/modules_exclude_local" text file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published