]> git.aero2k.de Git - urlbot-v3.git/commitdiff
fix index
authorThorsten <mail@aero2k.de>
Thu, 4 Oct 2018 19:49:27 +0000 (21:49 +0200)
committerThorsten <mail@aero2k.de>
Thu, 4 Oct 2018 19:49:27 +0000 (21:49 +0200)
distbot/plugins/plugin_help.py

index 5248baaf1a83e89b7400f9070fab8e5a68afb8b3..ace89289b2af5c94d6f368567cb259d5c072b351 100644 (file)
@@ -4,7 +4,6 @@ import logging
 
 from distbot.bot.worker import Worker
 from distbot.common.action import Action
-from distbot.common.config import conf_get
 
 logger = logging.getLogger(__name__)
 
@@ -49,7 +48,7 @@ class Plugins(Worker):
     def build_reverse_lookup(self):
         reverse_lookup = {}
         for plugin, definition in self.plugin_storage.items():
-            for key in definition['binding_keys']:
+            for key in definition['bindings']:
                 if key.startswith("nick"):
                     reverse_lookup[key.split('.')[1]] = plugin