forked from Cryz/battle_royale_sim
fix missing message return, and immediate first message of the day
This commit is contained in:
2
bot.py
2
bot.py
@@ -48,7 +48,7 @@ async def start_game(update, context):
|
||||
await update.message.reply_text(f'Servono almeno 2 giocatori. Ecco i giocatori presenti nel mondo do gioco: \n{Arena.get_players()}')
|
||||
return
|
||||
|
||||
context.job_queue.run_repeating(loop_game, interval=86400, first=0, chat_id= chat_id)
|
||||
context.job_queue.run_repeating(loop_game, interval=86400, first=1, chat_id= chat_id)
|
||||
#timezone = pytz.timezone('Europe/Rome')
|
||||
#context.job_queue.run_daily(
|
||||
#loop_game,
|
||||
|
||||
Reference in New Issue
Block a user