[RPC] Add missing await in rpc_load (#2167)

This commit is contained in:
bobloy 2018-10-02 04:44:38 -04:00 committed by Toby Harradine
parent b6c8be5f43
commit d5899fae83

View File

@ -1783,7 +1783,7 @@ class Core(commands.Cog, CoreLogic):
self._cleanup_and_refresh_modules(spec.name)
self.bot.load_extension(spec)
await self.bot.load_extension(spec)
async def rpc_unload(self, request):
cog_name = request.params[0]