Skip to content

Commit

Permalink
mfw spaces not multiple of 4
Browse files Browse the repository at this point in the history
  • Loading branch information
eip618 committed Jun 22, 2024
1 parent b108181 commit 3460e01
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cogs/assistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3460e01

Please sign in to comment.