File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ async def _close(self, ctx):
282
282
user_id = user_id or int (ctx .channel .topic .split (': ' )[1 ])
283
283
user = self .get_user (user_id )
284
284
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.'
286
286
em .color = discord .Color .red ()
287
287
if ctx .channel .category .name != 'Mod Mail Archives' : # already closed.
288
288
try :
@@ -308,7 +308,7 @@ async def archive(self, ctx):
308
308
user_id = user_id or int (ctx .channel .topic .split (': ' )[1 ])
309
309
user = self .get_user (user_id )
310
310
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.'
312
312
em .color = discord .Color .red ()
313
313
try :
314
314
await user .send (embed = em )
You can’t perform that action at this time.
0 commit comments