mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-22 05:54:18 +00:00
Close all open keyboards if the conversation has ended
This commit is contained in:
parent
b4137e7462
commit
782e036be3
1 changed files with 1 additions and 1 deletions
2
core.py
2
core.py
|
@ -94,7 +94,7 @@ def main():
|
|||
# Ensure a worker exists for the chat and is alive
|
||||
if receiving_worker is None or not receiving_worker.is_alive():
|
||||
# Suggest that the user restarts the chat with /start
|
||||
bot.send_message(update.message.chat.id, strings.error_no_worker_for_chat)
|
||||
bot.send_message(update.message.chat.id, strings.error_no_worker_for_chat, telegram.ReplyKeyboardRemove())
|
||||
# Skip the update
|
||||
continue
|
||||
# Forward the update to the worker
|
||||
|
|
Loading…
Reference in a new issue