1
0

fix missing message return, and immediate first message of the day

This commit is contained in:
Crystal
2025-07-26 00:06:29 +02:00
parent 09c892a786
commit 07dd5611e5
2 changed files with 4 additions and 2 deletions

2
bot.py
View File

@@ -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,