From 8c6ab17e579cf8f4e510ec324fc98b010ff01cb0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 2 Sep 2018 19:54:45 +0100 Subject: give an Exports object (actually, ExportsContex object) to each module, to facilitate things like !set and !channelset without using the events system --- modules/8ball.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/8ball.py') diff --git a/modules/8ball.py b/modules/8ball.py index 57be2da4..39e786e0 100644 --- a/modules/8ball.py +++ b/modules/8ball.py @@ -17,7 +17,7 @@ CHOICES = [ ] class Module(object): - def __init__(self, bot, events): + def __init__(self, bot, events, exports): events.on("received.command.8ball").hook( self.decide, min_args=1, -- cgit v1.3.1-10-gc9f91