From 1caaeeaa680ea61ecbf407cb1b7217dcb43188c1 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 5 Mar 2023 00:16:15 -0500 Subject: [PATCH] fixed whitespacing causing podcastset to not load --- podcast/podcast.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/podcast/podcast.py b/podcast/podcast.py index f84240d..f440964 100644 --- a/podcast/podcast.py +++ b/podcast/podcast.py @@ -39,21 +39,21 @@ class Podcast(commands.Cog): await submission_channel.send(content=f"{question}") await ctx.send(content="Question submitted!") - @commands.group(autohelp=True) - @checks.is_admin_or_superior() - @commands.guild_only() - async def podcastset(self, ctx): - """Commands to configure the Podcast cog.""" + @commands.group(autohelp=True) + @checks.is_admin_or_superior() + @commands.guild_only() + async def podcastset(self): + """Commands to configure the Podcast cog.""" - @podcastset.command(name="global") - @checks.is_admin_or_superior() - async def set_global_mode(self, ctx, boolean: bool): - """Enables or disables global mode.""" - if boolean == True: - await self.config.guild(ctx.guild).global_mode.set(True) - await ctx.send(content="``global_mode`` has been set to True.") - elif boolean == False: - await self.config.guild(ctx.guild).global_mode.set(False) - await ctx.send(content="``global_mode`` has been set to False.") - else: - await ctx.send(content="Please specify an argument!") \ No newline at end of file + @podcastset.command(name="global") + @checks.is_admin_or_superior() + async def set_global_mode(self, ctx, boolean: bool): + """Enables or disables global mode.""" + if boolean == True: + await self.config.guild(ctx.guild).global_mode.set(True) + await ctx.send(content="``global_mode`` has been set to True.") + elif boolean == False: + await self.config.guild(ctx.guild).global_mode.set(False) + await ctx.send(content="``global_mode`` has been set to False.") + else: + await ctx.send(content="Please specify an argument!") \ No newline at end of file