@@ -410,7 +410,7 @@ async def disable(self, ctx, delete_archives: bool=False):
410
410
if not categ :
411
411
return await ctx .send ('This server is not set up.' )
412
412
em = discord .Embed (title = 'Thread Closed' )
413
- em .description = f'{ ctx .author .mention } has closed this modmail session .'
413
+ em .description = f'{ ctx .author .mention } has closed this modmail thread .'
414
414
em .color = discord .Color .red ()
415
415
for category , channels in ctx .guild .by_category ():
416
416
if category == categ :
@@ -438,7 +438,7 @@ async def _close(self, ctx):
438
438
user_id = user_id or int (ctx .channel .topic .split (': ' )[1 ])
439
439
user = self .get_user (user_id )
440
440
em = discord .Embed (title = 'Thread Closed' )
441
- em .description = f'{ ctx .author .mention } has closed this modmail session .'
441
+ em .description = f'{ ctx .author .mention } has closed this modmail thread .'
442
442
em .color = discord .Color .red ()
443
443
if ctx .channel .category .name != 'Mod Mail Archives' : # already closed.
444
444
try :
@@ -471,7 +471,7 @@ async def archive(self, ctx):
471
471
472
472
user = self .get_user (user_id )
473
473
em = discord .Embed (title = 'Thread Closed' )
474
- em .description = f'{ ctx .author .mention } has closed this modmail session .'
474
+ em .description = f'{ ctx .author .mention } has closed this modmail thread .'
475
475
em .color = discord .Color .red ()
476
476
477
477
try :
@@ -481,7 +481,7 @@ async def archive(self, ctx):
481
481
482
482
await ctx .channel .edit (category = archives )
483
483
done = discord .Embed (title = 'Thread Archived' )
484
- done .description = f'{ ctx .author .mention } has archived this modmail session .'
484
+ done .description = f'{ ctx .author .mention } has archived this modmail thread .'
485
485
done .color = discord .Color .red ()
486
486
await ctx .send (embed = done )
487
487
await ctx .message .delete ()
@@ -652,7 +652,7 @@ async def create_thread(self, user, *, creator=None, reopen=False):
652
652
info_description = None
653
653
654
654
if creator :
655
- em = discord .Embed (title = 'Modmail thread started ' )
655
+ em = discord .Embed (title = 'Thread Started ' )
656
656
second = 'has started a modmail thread with you.' if not reopen else 'has reopened this modmail thread.'
657
657
em .description = f'{ creator .mention } ' + second
658
658
@@ -722,9 +722,10 @@ async def contact(self, ctx, *, user: discord.Member=None):
722
722
categ = discord .utils .get (ctx .guild .categories , id = ctx .channel .category_id )
723
723
channel = await self .create_thread (user , creator = ctx .author , reopen = reopen )
724
724
725
- em = discord .Embed (title = 'Thread reopened' if reopen else 'Created thread' )
726
- em .description = f'Thread { "reopned" if reopen else "started" } in { channel .mention } for { user .mention } '
727
- em .color = discord .Color .green ()
725
+ if channel is not ctx .channel :
726
+ em = discord .Embed (title = 'Thread reopened' if reopen else 'Created thread' )
727
+ em .description = f'Thread { "reopned" if reopen else "started" } in { channel .mention } for { user .mention } '
728
+ em .color = discord .Color .green ()
728
729
729
730
await ctx .send (embed = em )
730
731
0 commit comments