mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Display Botfather Command String if Telegram is enabled
This commit is contained in:
parent
68ab18259a
commit
ccf6f4c110
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ def run(telegram: typing.Optional[bool],
|
|||
|
||||
telegram_process: typing.Optional[multiprocessing.Process] = None
|
||||
if interfaces["telegram"]:
|
||||
click.echo("\n@BotFather Commands String")
|
||||
for command in enabled_commands:
|
||||
click.echo(f"{command.name} - {command.description}")
|
||||
click.echo("")
|
||||
telegram_bot = r.bots.TelegramBot(network_config=network_config,
|
||||
database_config=telegram_db_config,
|
||||
sentry_dsn=sentry_dsn,
|
||||
|
|
Loading…
Reference in a new issue