From e9b5519e86f48102e8c696d1ae6acaaaeb2c5180 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 1 Sep 2018 19:11:25 +0100 Subject: [PATCH] re-add self.events in ducks.py --- 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!")