added comment
This commit is contained in:
parent
b6ab23c098
commit
d6dd5e567c
@ -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.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):
|
def set_admin(message):
|
||||||
|
|
||||||
""" Set admin rights to user
|
""" Set admin rights to user
|
||||||
|
Loading…
Reference in New Issue
Block a user