Remove unnecessary else

This commit is contained in:
2022-03-18 02:03:28 +01:00
parent 0112dc65c1
commit 0f3f1ab4f5

View File

@ -419,8 +419,8 @@ async def remind_pause(ctx: SlashContext):
return await ctx.channel.send(
f"{message} in #{channel_name} is already paused."
)
else:
trigger_value = f'{trigger_time.strftime("%Y-%m-%d %H:%M")} (in {calc_countdown(job)})'
trigger_value = f'{trigger_time.strftime("%Y-%m-%d %H:%M")} (in {calc_countdown(job)})'
msg = f"**Paused** {message} in #{channel_name}.\n**Time**: {trigger_value}"