From 3460e014ae7290338065d16b55202b11a315b415 Mon Sep 17 00:00:00 2001 From: eip <36315290+eip618@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:34:59 +1000 Subject: [PATCH] mfw spaces not multiple of 4 --- cogs/assistance.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index 31e17a78..1a56e068 100644 --- a/cogs/assistance.py +++ b/cogs/assistance.py @@ -179,11 +179,11 @@ async def deletesoap(self, ctx: GuildContext, channels: commands.Greedy[discord. return await ctx.send("The soaps category is not set.") 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) - await ctx.send(f"Deleted :soap: {channel.mention}.") + 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) + await ctx.send(f"Deleted :soap: {channel.mention}.") @is_staff('OP') @commands.guild_only()