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

rimesso /crash

This commit is contained in:
Steffo 2016-09-29 14:04:48 +02:00
parent 94d21784c9
commit ac2aefe87b

3
bot.py
View file

@ -580,6 +580,9 @@ while True:
ciaospaggia() ciaospaggia()
elif text.startswith('/version'): elif text.startswith('/version'):
version() version()
elif text.startswith('/crash'):
if username == "Steffo":
raise Exception("SMECDS")
else: else:
print("@" + username + " bloccato.") print("@" + username + " bloccato.")
except Exception as e: except Exception as e: