Command explaination

This commit is contained in:
Bandie 2021-06-11 23:32:35 +02:00
parent 04f92679be
commit 61d3e462fb
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -156,7 +156,13 @@ loadConfig()
commandsList = [] commandsList = []
commandsList.append(BotCommand(command='start', description='Information about this bot.')) commandsList.append(BotCommand(command='start', description='Information about this bot.'))
if('name' in config): 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): if('adminID' not in config):