Ajout de l'event on_config_update pour recharger la config
This commit is contained in:
parent
3c89ee363e
commit
f50bf90b32
@ -35,3 +35,6 @@ class BaseModule:
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
asyncio.ensure_future(self._run_event(coro, method, *args, **kwargs), loop=self.client.loop)
|
asyncio.ensure_future(self._run_event(coro, method, *args, **kwargs), loop=self.client.loop)
|
||||||
|
|
||||||
|
async def on_config_update(self):
|
||||||
|
self.config.load()
|
||||||
|
Loading…
Reference in New Issue
Block a user