Skip to content

Commit b2780fc

Browse files
committed
Pull modmail-dev/modmail#modmail-dev#3233
1 parent 49f9dfd commit b2780fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cogs/modmail.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,9 @@ async def move(self, ctx, *, arguments):
444444
async def send_scheduled_close_message(self, ctx, after, silent=False):
445445
human_delta = human_timedelta(after.dt)
446446

447-
silent = "*silently* " if silent else ""
448-
449447
embed = discord.Embed(
450448
title="Scheduled close",
451-
description=f"This thread will close {silent}{human_delta}.",
449+
description=f"This thread will{' silently' if silent else ''} close in {human_delta}.",
452450
color=self.bot.error_color,
453451
)
454452

0 commit comments

Comments
 (0)