Skip to content

Commit b72fc79

Browse files
committed
Improve wording
1 parent e51758e commit b72fc79

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

bot.py

+9-8
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ async def disable(self, ctx, delete_archives: bool=False):
410410
if not categ:
411411
return await ctx.send('This server is not set up.')
412412
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.'
414414
em.color = discord.Color.red()
415415
for category, channels in ctx.guild.by_category():
416416
if category == categ:
@@ -438,7 +438,7 @@ async def _close(self, ctx):
438438
user_id = user_id or int(ctx.channel.topic.split(': ')[1])
439439
user = self.get_user(user_id)
440440
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.'
442442
em.color = discord.Color.red()
443443
if ctx.channel.category.name != 'Mod Mail Archives': # already closed.
444444
try:
@@ -471,7 +471,7 @@ async def archive(self, ctx):
471471

472472
user = self.get_user(user_id)
473473
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.'
475475
em.color = discord.Color.red()
476476

477477
try:
@@ -481,7 +481,7 @@ async def archive(self, ctx):
481481

482482
await ctx.channel.edit(category=archives)
483483
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.'
485485
done.color = discord.Color.red()
486486
await ctx.send(embed=done)
487487
await ctx.message.delete()
@@ -652,7 +652,7 @@ async def create_thread(self, user, *, creator=None, reopen=False):
652652
info_description = None
653653

654654
if creator:
655-
em = discord.Embed(title='Modmail thread started')
655+
em = discord.Embed(title='Thread Started')
656656
second = 'has started a modmail thread with you.' if not reopen else 'has reopened this modmail thread.'
657657
em.description = f'{creator.mention} ' + second
658658

@@ -722,9 +722,10 @@ async def contact(self, ctx, *, user: discord.Member=None):
722722
categ = discord.utils.get(ctx.guild.categories, id=ctx.channel.category_id)
723723
channel = await self.create_thread(user, creator=ctx.author, reopen=reopen)
724724

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()
728729

729730
await ctx.send(embed=em)
730731

0 commit comments

Comments
 (0)