From 4bafe4de96dc71a14e765a5e1ba1c444bfb899fd Mon Sep 17 00:00:00 2001 From: eip <36315290+eip618@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:37:17 +1000 Subject: [PATCH] eip and the whitespace saga (33) --- cogs/assistance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index 1a56e068..cc03891a 100644 --- a/cogs/assistance.py +++ b/cogs/assistance.py @@ -177,9 +177,9 @@ async def deletesoap(self, ctx: GuildContext, channels: commands.Greedy[discord. """Deletes a :soap: help channel. helper+ only.""" if not self.soaps_category: return await ctx.send("The soaps category is not set.") - for channel in channels: - if channel not in self.soaps_category.channels: - continue + for channel in channels: + if channel not in self.soaps_category.channels: + continue await channel.delete() msg = f":x: **:soap: channel deleted**: {ctx.author.mention} deleted :soap: channel {channel.mention} | {channel.name} ({channel.id})" await self.bot.channels['mod-logs'].send(msg)