1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Merge pull request #10 from HeisenDoc/patch-1

Ciao Stefanino bot.py
This commit is contained in:
Steffo 2016-03-29 19:57:57 +02:00
commit 480dac00a5

4
bot.py
View file

@ -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.