aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ModuleManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ModuleManager.py b/src/ModuleManager.py
index 79ed8f2a..6f178a16 100644
--- a/src/ModuleManager.py
+++ b/src/ModuleManager.py
@@ -94,7 +94,7 @@ class ModuleManager(object):
hooks = getattr(attribute, BITBOT_HOOKS_MAGIC)
for hook in hooks:
context_events.on(hook["event"]).hook(attribute,
- **hook["kwargs"])
+ docstring=attribute.__doc__, **hook["kwargs"])
module_object._context = context
module_object._import_name = name