Skip to content

Commit 91511b0

Browse files
committed
Fix nsfw command
1 parent 2368afc commit 91511b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/modmail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async def nsfw(self, ctx):
167167
thread = self.bot.threads.find(channel=ctx.channel)
168168
if thread is None:
169169
return
170-
await ctx.edit(nsfw=True)
170+
await ctx.channel.edit(nsfw=True)
171171
await ctx.message.add_reaction('✅')
172172

173173
@commands.command()
@@ -385,7 +385,7 @@ async def unblock(self, ctx, id=None):
385385
await ctx.send(embed=em)
386386
else:
387387
em.title = 'Error'
388-
em.description = f'{mention} is not blocked'
388+
em.description = f'{mention} is not already blocked'
389389
em.color = discord.Color.red()
390390

391391
await ctx.send(embed=em)

0 commit comments

Comments
 (0)