Fixing .reload again :')
This commit is contained in:
parent
b69b9784ba
commit
a75dcbb6c2
|
@ -21,8 +21,7 @@ def reload(bot: irc3.IrcBot, mask: IrcString, target: IrcString,
|
||||||
"""
|
"""
|
||||||
plugin = args.get('<plugin>')
|
plugin = args.get('<plugin>')
|
||||||
if plugin:
|
if plugin:
|
||||||
plugin = '{}.{}'.format(plugin, MODULE)
|
bot.reload('{}.{}'.format(MODULE, plugin))
|
||||||
bot.reload(plugin)
|
|
||||||
bot.privmsg(target, 'Reloaded plugin "{}"'.format(plugin))
|
bot.privmsg(target, 'Reloaded plugin "{}"'.format(plugin))
|
||||||
else:
|
else:
|
||||||
bot.reload()
|
bot.reload()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user