mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
wut
This commit is contained in:
parent
11305df1e4
commit
089d1565a1
1 changed files with 0 additions and 1 deletions
1
bot.py
1
bot.py
|
@ -46,7 +46,6 @@ while True:
|
|||
if text.startswith('wow'):
|
||||
print("@" + username + ": WOW!")
|
||||
telegram.sendmessage("Wow. Impressionante.", sentin, source)
|
||||
# Viene usato startswith perchè il comando potrebbe anche essere inviato in forma /ciao@RoyalBot.
|
||||
if 'text' in msg:
|
||||
# Salvatelo in una stringa
|
||||
text = msg['text']
|
||||
|
|
Loading…
Reference in a new issue