mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[RPC] Add missing await in rpc_load (#2167)
This commit is contained in:
parent
b6c8be5f43
commit
d5899fae83
@ -1783,7 +1783,7 @@ class Core(commands.Cog, CoreLogic):
|
|||||||
|
|
||||||
self._cleanup_and_refresh_modules(spec.name)
|
self._cleanup_and_refresh_modules(spec.name)
|
||||||
|
|
||||||
self.bot.load_extension(spec)
|
await self.bot.load_extension(spec)
|
||||||
|
|
||||||
async def rpc_unload(self, request):
|
async def rpc_unload(self, request):
|
||||||
cog_name = request.params[0]
|
cog_name = request.params[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user