From 70e612882d1093b133d13302dccfba6aa2778474 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 31 Oct 2024 00:26:00 -0500 Subject: `black --line-length 79` --- code/cogs/owner/cog.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'code/cogs/owner/cog.py') 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.") -- cgit v1.2.3-70-g09d2