aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/botsnack.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/botsnack.py b/modules/botsnack.py
deleted file mode 100644
index 2add76dc..00000000
--- a/modules/botsnack.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#--depends-on commands
-
-import random
-from src import ModuleManager, utils
-
-ACTIONS = [
- "cronch",
- "munch",
- "nom nom",
- "wriggles excitedly"
-]
-
-class Module(ModuleManager.BaseModule):
- @utils.hook("received.command.botsnack")
- @utils.kwarg("expect_output", False)
- def botsnack(self, event):
- event["target"].send_message("\x01ACTION %s\x01" %
- random.choice(ACTIONS))
-