diff --git a/cogs/assistance.py b/cogs/assistance.py index cc03891a..4df52b1c 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 - 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}.") + await channel.delete() @is_staff('OP') @commands.guild_only()