Command explaination

main
Bandie 1 year ago
parent 04f92679be
commit 61d3e462fb
No known key found for this signature in database
GPG Key ID: 843D7FA93BA46312
  1. 8
      TelegramContactProtectionBot.py

@ -156,7 +156,13 @@ loadConfig()
commandsList = []
commandsList.append(BotCommand(command='start', description='Information about this bot.'))
if('name' in config):
commandsList.append(BotCommand(command='request', description='Request ' + config['name'] + ' for contact'))
commandsList.append(BotCommand(command='request', description='Send a contact request to ' + config['name']))
commandsList.append(BotCommand(command='block', description='Admin: Block a user. ID required. /block {ID}'))
commandsList.append(BotCommand(command='unblock', description='Admin: Unblock a user. ID required. /unblock {ID}'))
commandsList.append(BotCommand(command='blocklist', description='Admin: List the blocked IDs.'))
commandsList.append(BotCommand(command='setname', description='Admin: Set your name for information purposes. /setname {name}'))
if('adminID' not in config):

Loading…
Cancel
Save