From 31607def4e9d5532e01aa5bea07f83affea3ef08 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 18 Sep 2019 17:48:23 +0100 Subject: [PATCH] move botsnack to bitbot-modules --- modules/botsnack.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 modules/botsnack.py 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)) -