diff options
| author | 2019-09-18 17:48:23 +0100 | |
|---|---|---|
| committer | 2019-09-18 17:48:23 +0100 | |
| commit | 31607def4e9d5532e01aa5bea07f83affea3ef08 (patch) | |
| tree | 88fc806fca608803e19f6c980ef20a8e0ef7b13d /modules/botsnack.py | |
| parent | move timer.py to bitbot-modules (diff) | |
| signature | ||
move botsnack to bitbot-modules
Diffstat (limited to 'modules/botsnack.py')
| -rw-r--r-- | modules/botsnack.py | 19 |
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)) - |
