re-add self.events in ducks.py
This commit is contained in:
parent
23f859beb2
commit
e9b5519e86
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ DUCK_LIST = [
|
||||||
class Module(object):
|
class Module(object):
|
||||||
def __init__(self, bot, events):
|
def __init__(self, bot, events):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
self.events = events
|
||||||
|
|
||||||
events.on("received.command.bef").hook(self.duck_bef,
|
events.on("received.command.bef").hook(self.duck_bef,
|
||||||
help="Befriend a duck!")
|
help="Befriend a duck!")
|
||||||
|
|
Loading…
Reference in a new issue