aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar dngfx2018-09-08 17:02:03 +0100
committerGravatar dongfix2018-09-08 17:02:03 +0100
commit54c9616d4c72c8c8985f4753b2ea780e04c6d71f (patch)
tree351a352da5db812dd05d73f0694400b625d8a692 /modules
parentPEP8 Compliance. (diff)
signature
8ball answer updates and ducks.py fix.
Diffstat (limited to 'modules')
-rw-r--r--modules/8ball.py7
-rw-r--r--modules/ducks.py2
2 files changed, 7 insertions, 2 deletions
diff --git a/modules/8ball.py b/modules/8ball.py
index 1c058a28..f32b9a5a 100644
--- a/modules/8ball.py
+++ b/modules/8ball.py
@@ -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):
diff --git a/modules/ducks.py b/modules/ducks.py
index 31a7fbe9..a3b3c80f 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -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