@@ -36,7 +36,7 @@ async def load(self, context: Context, cog: str):
3636 await self .bot .load_extension (f"cogs.{ cog } " )
3737 except Exception as e :
3838 embed = discord .Embed (title = "Error!" , description = f"Could not load the `{ cog } ` cog." )
39- await context .send (embed = embed ) return
39+ await context .send (embed = embed )
4040 embed = discord .Embed (title = "Load" , description = f"Successfully loaded the `{ cog } ` cog." )
4141 await context .send (embed = embed )
4242
@@ -57,7 +57,7 @@ async def unload(self, context: Context, cog: str):
5757 await self .bot .unload_extension (f"cogs.{ cog } " )
5858 except Exception as e :
5959 embed = discord .Embed (title = "Error!" , description = f"Could not unload the `{ cog } ` cog." )
60- await context .send (embed = embed ) return
60+ await context .send (embed = embed )
6161 embed = discord .Embed (title = "Unload" , description = f"Successfully loaded the `{ cog } ` cog." )
6262 await context .send (embed = embed )
6363
@@ -77,7 +77,7 @@ async def reload(self, context: Context, cog: str):
7777 await self .bot .reload_extension (f"cogs.{ cog } " )
7878 except Exception as e :
7979 embed = discord .Embed (title = "Error!" , description = f"Could not reload the `{ cog } ` cog." )
80- await context .send (embed = embed ) return
80+ await context .send (embed = embed )
8181 embed = discord .Embed (title = "Reload" , description = f"Successfully reloaded the `{ cog } ` cog." )
8282 await context .send (embed = embed )
8383
0 commit comments