mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
Usage instructions for bots
This commit is contained in:
parent
d808462fb6
commit
ab313488ad
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue