forked from Cryz/battle_royale_sim
fix
This commit is contained in:
2
bot.py
2
bot.py
@@ -35,7 +35,7 @@ async def bot_start(update, context):
|
|||||||
context.application.bot_data['arena'] = Arena
|
context.application.bot_data['arena'] = Arena
|
||||||
|
|
||||||
async def update_bot(update, context):
|
async def update_bot(update, context):
|
||||||
update.message.reply_text('Sto aggiornando il Bot...')
|
await update.message.reply_text('Sto aggiornando il Bot...')
|
||||||
chat_id = update.effective_chat.id
|
chat_id = update.effective_chat.id
|
||||||
if update.message.chat.id not in _botsyms.SUPER_USERS: return _log.log_warning(f'update_bot: user {chat_id} not allowed')
|
if update.message.chat.id not in _botsyms.SUPER_USERS: return _log.log_warning(f'update_bot: user {chat_id} not allowed')
|
||||||
_log.log_debug(f'update_bot: {chat_id} bot is updating...')
|
_log.log_debug(f'update_bot: {chat_id} bot is updating...')
|
||||||
|
|||||||
Reference in New Issue
Block a user