New try for bot and bot_updates #80

Merged
NormalParameter merged 19 commits from bot into main 2022-04-26 06:40:42 +00:00
Showing only changes of commit d6dd5e567c - Show all commits

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