mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
crash intenzionale best crash
This commit is contained in:
parent
9c48e99648
commit
0a3656af08
1 changed files with 4 additions and 0 deletions
4
bot.py
4
bot.py
|
@ -714,6 +714,10 @@ while True:
|
||||||
lolfreestring += "*" + staticdata['name'] + "* " + staticdata['title'] + '\n'
|
lolfreestring += "*" + staticdata['name'] + "* " + staticdata['title'] + '\n'
|
||||||
print("Completato.")
|
print("Completato.")
|
||||||
telegram.sendmessage(lolfreestring, sentin, source)
|
telegram.sendmessage(lolfreestring, sentin, source)
|
||||||
|
elif text.startswith('/crash'):
|
||||||
|
# Crasha il bot. Mi sembra geniale.
|
||||||
|
if username == 'Steffo':
|
||||||
|
raise SystemExit("Ho appena fatto crashare tutto apposta. Sono un genio.")
|
||||||
else:
|
else:
|
||||||
print("@" + username + " bloccato.")
|
print("@" + username + " bloccato.")
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in a new issue