8ball answer updates and ducks.py fix.

This commit is contained in:
dngfx 2018-09-08 17:02:03 +01:00 committed by dongfix
parent 763333eea8
commit 54c9616d4c
2 changed files with 7 additions and 2 deletions

View file

@ -14,7 +14,12 @@ CHOICES = [
"The answer is unclear",
"Absolutely",
"Dubious at best",
"I'm on a break, ask again later"
"I'm on a break, ask again later",
"As I see it, yes",
"It is certain",
"Naturally",
"Reply hazy, try again later",
Utils.color(4) + Utils.underline("DO NOT WASTE MY TIME")
]
class Module(object):

View file

@ -79,7 +79,7 @@ class Module(object):
if hasattr(channel, 'games') == False:
return False
if hasattr(channel["games"], 'ducks') == False:
if "ducks" not in channel.games.keys():
return False
return True