|
|
@ -185,7 +185,10 @@ def conversazione(func):
|
|
|
|
|
|
|
|
|
|
|
|
@bot.message_handler(commands=["stop"])
|
|
|
|
@bot.message_handler(commands=["stop"])
|
|
|
|
def handle_stop(message):
|
|
|
|
def handle_stop(message):
|
|
|
|
|
|
|
|
if message.chat.id in registro_conversazioni:
|
|
|
|
del registro_conversazioni[message.chat.id]
|
|
|
|
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"])
|
|
|
|
@bot.message_handler(commands=["nuova_proposta"])
|
|
|
|