added comment

This commit is contained in:
Linus E 2022-04-25 19:59:03 +02:00
parent b6ab23c098
commit d6dd5e567c

View File

@ -143,7 +143,7 @@ def send_all_users(message):
bot.send_message(chat_id=user_id, text=f'Username: {username}\nEmail: {email}\nID: {id}\nCron: {cron}\nAdmin: {admin}') # format user data into readable message text
@bot.message_handler(commands=['setAdmin', 'SetAdmin']) # set admin rights to user
@bot.message_handler(commands=['setAdmin', 'SetAdmin']) # set admin rights to user TBD: not working!!
def set_admin(message):
""" Set admin rights to user