summaryrefslogtreecommitdiffstats
path: root/pinolo/plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pinolo/plugins/__init__.py')
-rw-r--r--pinolo/plugins/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pinolo/plugins/__init__.py b/pinolo/plugins/__init__.py
index eb14a59..3e1fae5 100644
--- a/pinolo/plugins/__init__.py
+++ b/pinolo/plugins/__init__.py
@@ -40,10 +40,11 @@ class Plugin(object):
if name != "Plugin":
registry.append((name, cls))
- def __init__(self, bot, enabled=True):
+ def __init__(self, bot, config, enabled=True):
"""Initialize the plugin instance with a pointer to the bot object"""
self.bot = bot
+ self.config = config
self.enabled = enabled
def activate(self):