re-add self.events in ducks.py

This commit is contained in:
jesopo 2018-09-01 19:11:25 +01:00
parent 23f859beb2
commit e9b5519e86

View file

@ -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!")