1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Ciao spaggia

This commit is contained in:
Steffo 2016-09-24 20:30:41 +02:00
parent fd4fda6230
commit c6bec79aca

7
bot.py
View file

@ -466,6 +466,11 @@ def getrygimage():
sentin, source) sentin, source)
def ciaospaggia():
# Buongiorno, stellina!
print("@" + username + ": /ciaospaggia")
telegram.sendmessage("Ma buongiorno, [Stellina](https://telegram.me/doom_darth_vader)!")
def smecds(): def smecds():
# Secondo me, è colpa... # Secondo me, è colpa...
print("@" + username + ": /smecds") print("@" + username + ": /smecds")
@ -555,6 +560,8 @@ while True:
getrygimage() getrygimage()
elif text.startswith('/smecds'): elif text.startswith('/smecds'):
smecds() smecds()
elif text.startswith('/ciaospaggia'):
ciaospaggia()
else: else:
print("@" + username + " bloccato.") print("@" + username + " bloccato.")
except Exception as e: except Exception as e: