'bot' -> 'self.bot'
This commit is contained in:
parent
69a780b596
commit
e483d4574b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def _reload(self, name):
|
def _reload(self, name):
|
||||||
self.bot.modules.unload_module(name)
|
self.bot.modules.unload_module(name)
|
||||||
definition = self.bot.modules.find_module(name)
|
definition = self.bot.modules.find_module(name)
|
||||||
self.bot.modules.load_module(bot, definition)
|
self.bot.modules.load_module(self.bot, definition)
|
||||||
@utils.hook("received.command.reloadmodule", min_args=1)
|
@utils.hook("received.command.reloadmodule", min_args=1)
|
||||||
def reload(self, event):
|
def reload(self, event):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue