aboutsummaryrefslogtreecommitdiff
path: root/modules/8all.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-09-01 11:45:29 +0100
committerGravatar dngfx2018-09-01 11:45:29 +0100
commit090531c0ae4045c4a9d07418f9ef941debcbbd73 (patch)
tree45d3e7769191a7c5483114280f6b4032a16f11ed /modules/8all.py
parentomg it's the future (#15) (diff)
signature
Omg I can't spell.
Diffstat (limited to 'modules/8all.py')
-rw-r--r--modules/8all.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/8all.py b/modules/8all.py
deleted file mode 100644
index 57be2da4..00000000
--- a/modules/8all.py
+++ /dev/null
@@ -1,29 +0,0 @@
-import random
-
-CHOICES = [
- "Definitely",
- "Yes",
- "Probably",
- "Maybe",
- "Probably not",
- "No",
- "Definitely not",
- "I don't know",
- "Ask again later",
- "The answer is unclear",
- "Absolutely",
- "Dubious at best",
- "I'm on a break, ask again later"
-]
-
-class Module(object):
- def __init__(self, bot, events):
- events.on("received.command.8ball").hook(
- self.decide,
- min_args=1,
- help="Ask the mystic 8ball a question!",
- usage="<question>"
- )
-
- def decide(selfs, event):
- event["stdout"].write(random.choice(CHOICES))