Skip to content

pmpfl/tgbotplug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgbotplug

Build Status

tgbotplug is meant to be an easy-to-extend telegram bot built around twx.botapi.

Plugin examples can be found in tgbotplug-plugins.

Using tgbotplug, after choosing/developing your plugins, is as simple as:

import tgbot
tgbot.TGBot(
  'YOUR_BOT_TOKEN',
  plugins=[
    Plugin1(),
    ...,
    PluginN(),
  ],
).run()

Plugins should inherit tgbot.TGPluginBaseand implement list_commands() (and the methods mapped in its result).

About

Telegram plugin-based bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%