Usage instructions for bots

This commit is contained in:
Jannes Höke 2015-11-15 20:13:03 +01:00
parent d808462fb6
commit ab313488ad
2 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,10 @@ the Broadcaster and registered at their respective places.
Then, the bot is started and the CLI-Loop is entered, where all text inputs are
inserted into the update queue for the bot to handle.
Usage:
Basic Echobot example, repeats messages. Reply to last chat from the command
line by typing "/reply <text>"
Type 'stop' on the command line to stop the bot.
"""
import sys

View file

@ -7,6 +7,9 @@ First, a few handler functions are defined. Then, those functions are passed to
the Broadcaster and registered at their respective places.
Then, the bot is started and the CLI-Loop is entered.
Usage:
Basic Echobot example, repeats messages.
Type 'stop' on the command line to stop the bot.
"""
from telegram import BotEventHandler