From 8098e8c015bea210d07af74d4ccc97caac5083d4 Mon Sep 17 00:00:00 2001 From: dngfx <294904+dngfx@users.noreply.github.com> Date: Sat, 1 Sep 2018 19:12:05 +0100 Subject: [PATCH] re-add self.events --- modules/ducks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ducks.py b/modules/ducks.py index e7fd00c3..3056d7bb 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -16,6 +16,7 @@ DUCK_LIST = [ class Module(object): def __init__(self, bot, events): self.bot = bot + self.events = events events.on("received.command.bef").hook(self.duck_bef, help="Befriend a duck!")