git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e49e5
)
Ensure we set the client when reloading a plugin which failed to parse on startup.
author
CMDR furrycat
<elite@furrycat.net>
Sun, 11 Feb 2018 09:33:46 +0000
(09:33 +0000)
committer
CMDR furrycat
<elite@furrycat.net>
Sun, 11 Feb 2018 09:33:46 +0000
(09:33 +0000)
app.py
patch
|
blob
|
history
diff --git
a/app.py
b/app.py
index
c97f2e8
..
c059c76
100644
(file)
--- a/
app.py
+++ b/
app.py
@@
-231,6
+231,7
@@
async def builtin_commands(message, command, raw):
if args[1] == 'reload':
plugins.refresh()
plugins.log_level(log.getEffectiveLevel())
+ plugins.set_client(client)
return True
return False
all_plugins = list(plugins.plugins())