From: Thorsten Date: Thu, 4 Oct 2018 19:49:27 +0000 (+0200) Subject: fix index X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=740564c493e5dc7b16255f933a7e2353dcd2c12f;p=urlbot-v3.git fix index --- diff --git a/distbot/plugins/plugin_help.py b/distbot/plugins/plugin_help.py index 5248baa..ace8928 100644 --- a/distbot/plugins/plugin_help.py +++ b/distbot/plugins/plugin_help.py @@ -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