fix: aggiustato un bug di /stop

main
Antonio De Lucreziis 11 months ago
parent 4aa3a5b2d9
commit f57e515f67

@ -185,7 +185,10 @@ def conversazione(func):
@bot.message_handler(commands=["stop"])
def handle_stop(message):
del registro_conversazioni[message.chat.id]
if message.chat.id in registro_conversazioni:
del registro_conversazioni[message.chat.id]
else:
bot.send_message(message.chat.id, "Boh in realtà stop non serve, non stavi facendo niente")
@bot.message_handler(commands=["nuova_proposta"])

Loading…
Cancel
Save