mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +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'
|
||||
print("Completato.")
|
||||
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:
|
||||
print("@" + username + " bloccato.")
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in a new issue