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

Tolto /crash perchè tanto è inutile ora

This commit is contained in:
Steffo 2016-09-21 16:50:31 +02:00
parent f942817f6e
commit d5fc318e85

4
bot.py
View file

@ -539,10 +539,6 @@ while True:
lolfree() lolfree()
elif text.startswith('/ombromanto'): elif text.startswith('/ombromanto'):
ombromanto() ombromanto()
elif text.startswith('/crash'):
# Crasha il bot. Mi sembra geniale.
if username == 'Steffo':
raise Exception("Ho appena fatto crashare tutto apposta. Sono un genio.")
else: else:
print("@" + username + " bloccato.") print("@" + username + " bloccato.")
except Exception as e: except Exception as e: