From a0f66cdb8c4e23f85821bc2d2adae7eb25404244 Mon Sep 17 00:00:00 2001 From: HeisenDoc Date: Tue, 29 Mar 2016 19:50:43 +0200 Subject: [PATCH] Update bot.py --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index 9eb2a1c9..7c9f6ad4 100644 --- a/bot.py +++ b/bot.py @@ -128,6 +128,10 @@ while True: print("@" + username + ": /ahnonlosoio") # Rispondi con Ah, non lo so nemmeno io. telegram.sendmessage("Ah, non lo so nemmeno io!", sentin, source) + elif text.startswith('/ciaostefanino'): + print("@" + username + ": /ciaostefanino") + # Rispondi salutando Stefanino. + telegram.sendmessage("Ciao Stefanino!!!", sentin, source) elif text.startswith('/ehoh'): print("@" + username + ": /ehoh") # Rispondi con Eh, oh. Sono cose che capitano.