TGBotPlug

Telegram plugin-based bot

View the Project on GitHub fopina/tgbotplug

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

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

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

Overview

PyPI version Build Status Coverage Status

  1. Documentation
  2. VirtualLife Examples

Documentation

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

Documentation is a bit scarse (== None) at the moment so please focus on the plugin examples and the VirtualLife Examples for now!

VirtualLife Examples