Skip to main content

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

  • PriberamBot - uses webhooks, inline queries, packaged for Heroku

  • ButtieBot - uses webhooks, sends photos, packaged for OpenShift

  • EuromillionsBot - uses webhooks, inline queries, packaged for OpenShift

  • PushItBot - uses webhooks, extends tgbotplug Bottle app for extra routes, packaged for OpenShift

  • IndieShuffleBot - uses webhooks, sends audio, packaged for OpenShift

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgbotplug-1.2.12.tar.gz (26.9 kB view details)

Uploaded Source

File details

Details for the file tgbotplug-1.2.12.tar.gz.

File metadata

  • Download URL: tgbotplug-1.2.12.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tgbotplug-1.2.12.tar.gz
Algorithm Hash digest
SHA256 c86e5f88481ee0e9c4fbe64379de863adb6782af596c2bc82c4d6bb8016af594
MD5 a97a7cbff959e05231c7fadde288d15a
BLAKE2b-256 4f67ff1301cb3a2d574f8ede03b422ab938e31b74931f59b76ba3475fd76de4e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.12 This release

1 file

1.2.11

1 file

1.2.10

1 file

1.2.9

1 file

1.2.8

1 file

1.2.7

1 file

1.2.6

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2

1 file

1.1

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1.0.1

1 file

1.0

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page