Skip to content

Commit 47d0d8b

Browse files
committed
Use mentions
1 parent 43fd25f commit 47d0d8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ async def _close(self, ctx):
282282
user_id = user_id or int(ctx.channel.topic.split(': ')[1])
283283
user = self.get_user(user_id)
284284
em = discord.Embed(title='Thread Closed')
285-
em.description = f'**{ctx.author}** has closed this modmail session.'
285+
em.description = f'{ctx.author.mention} has closed this modmail session.'
286286
em.color = discord.Color.red()
287287
if ctx.channel.category.name != 'Mod Mail Archives': # already closed.
288288
try:
@@ -308,7 +308,7 @@ async def archive(self, ctx):
308308
user_id = user_id or int(ctx.channel.topic.split(': ')[1])
309309
user = self.get_user(user_id)
310310
em = discord.Embed(title='Thread Closed')
311-
em.description = f'**{ctx.author}** has closed this modmail session.'
311+
em.description = f'{ctx.author.mention} has closed this modmail session.'
312312
em.color = discord.Color.red()
313313
try:
314314
await user.send(embed=em)

0 commit comments

Comments
 (0)