SHA256
fix loop requesting seconds
This commit is contained in:
1 parent
f8a3e12909
commit
da0368d6c5
2 files changed
+6
No files matched your search
@@ -29,6 +29,8 @@ async def get_seconds_from_input(context, update, chat_id, text):
|
||||
try: text= int(text)
|
||||
except: return
|
||||
seconds= max(1, text)
|
||||
if 'ask_seconds' in context.application.bot_data:
|
||||
del(context.application.bot_data['ask_seconds'])
|
||||
return await _bot_repeat.start_loop_game(update, context, seconds)
|
||||
|
||||
### basic commands handling
|
||||
|
||||
Reference in new issue
Block a user