diff options
author | Parker <contact@pkrm.dev> | 2024-10-31 00:26:00 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-10-31 00:26:00 -0500 |
commit | 70e612882d1093b133d13302dccfba6aa2778474 (patch) | |
tree | 6b26a4dc377ccf209c37eabf673d6031fdc10987 /code/cogs/owner/cog.py | |
parent | c1b229f34c010108b0e7eb92de2102dfc07ae70c (diff) |
`black --line-length 79`
Diffstat (limited to 'code/cogs/owner/cog.py')
-rw-r--r-- | code/cogs/owner/cog.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/code/cogs/owner/cog.py b/code/cogs/owner/cog.py index 78dc246..a090414 100644 --- a/code/cogs/owner/cog.py +++ b/code/cogs/owner/cog.py @@ -9,7 +9,10 @@ class CogCommands(commands.Cog): @commands.dm_only() @commands.is_owner() async def cog(self, ctx): - await ctx.author.send(f"This is a group command. Use `{self.bot.command_prefix}cog load/unload/reload` followed by the name of the cog.") + await ctx.author.send( + f"This is a group command. Use `{self.bot.command_prefix}cog" + " load/unload/reload` followed by the name of the cog." + ) @cog.command() @commands.dm_only() @@ -47,7 +50,9 @@ class CogCommands(commands.Cog): @unload.error async def cog_unload_error(self, ctx, error): if isinstance(error.original, commands.ExtensionNotLoaded): - return await ctx.send("Cog not loaded. It might be that the cog does not exist.") + return await ctx.send( + "Cog not loaded. It might be that the cog does not exist." + ) else: return await ctx.send("An unknown error occurred.") @@ -66,7 +71,9 @@ class CogCommands(commands.Cog): @reload.error async def cog_reload_error(self, ctx, error): if isinstance(error.original, commands.ExtensionNotLoaded): - return await ctx.send("Cog not loaded. It might be that the cog does not exist.") + return await ctx.send( + "Cog not loaded. It might be that the cog does not exist." + ) else: return await ctx.send("An unknown error occurred.") |