1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-17 23:24:20 +00:00

Aggiunto gibait

This commit is contained in:
Steffo 2016-01-26 18:54:05 +01:00
parent 63fc31e62e
commit 30257b8245

4
bot.py
View file

@ -40,6 +40,7 @@ class Votazione:
'supersmurf': int(0), 'supersmurf': int(0),
'tauei': int(0), 'tauei': int(0),
'voltaggio': int(0), 'voltaggio': int(0),
'gibait': int(0),
} }
def __init__(self, question, askin): def __init__(self, question, askin):
@ -133,6 +134,7 @@ steamids = {
'supersmurf': 76561198115852550, 'supersmurf': 76561198115852550,
'tauei': 76561198104305298, 'tauei': 76561198104305298,
'voltaggio': 76561198147601821, 'voltaggio': 76561198147601821,
'gibait': 76561198157721704,
} }
random.seed() random.seed()
@ -444,7 +446,7 @@ while True:
if incorso.chat == sentin: if incorso.chat == sentin:
print("@" + username + ": /domanda ") print("@" + username + ": /domanda ")
incorso.ask() incorso.ask()
elif text.startswith('/risultati') and incorso is not None: elif text.startswith('/risultati') and incorso is not None:
if incorso.chat == sentin: if incorso.chat == sentin:
print("@" + username + ": /risultati ") print("@" + username + ": /risultati ")
incorso.showresults() incorso.showresults()