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()