From c34cf9e23a60d324783b5d6afc4dd4de2964395a Mon Sep 17 00:00:00 2001 From: eip <36315290+eip618@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:14:17 +1000 Subject: [PATCH] put things in for loop, maybe --- cogs/assistance.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index 5a8c40dc..2d4ff631 100644 --- a/cogs/assistance.py +++ b/cogs/assistance.py @@ -180,10 +180,10 @@ async def deletesoap(self, ctx: GuildContext, channels: commands.Greedy[discord. for channel in channels: if channel not in self.soaps_category.channels: continue - msg = f":x: **:soap: channel deleted**: {ctx.author.mention} deleted :soap: channel {channel.name} ({channel.id})" - await self.bot.channels['mod-logs'].send(msg) - await ctx.send(f"Deleted :soap: {channel.name}.") - await channel.delete() + msg = f":x: **:soap: channel deleted**: {ctx.author.mention} deleted :soap: channel {channel.name} ({channel.id})" + await self.bot.channels['mod-logs'].send(msg) + await ctx.send(f"Deleted :soap: {channel.name}.") + await channel.delete() @is_staff('OP') @commands.guild_only()