From 65cef88c9eb8d9ab3465319b13b5a021159e5644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Fri, 18 Mar 2022 01:34:04 +0100 Subject: [PATCH] Change variable name --- discord_reminder_bot/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord_reminder_bot/main.py b/discord_reminder_bot/main.py index 8978842..20d71cc 100644 --- a/discord_reminder_bot/main.py +++ b/discord_reminder_bot/main.py @@ -133,7 +133,7 @@ async def command_modify(ctx: SlashContext, time_or_message: str): """ list_embed, jobs_dict = make_list(ctx, skip_cron_or_interval=True) - first_message = "the date" if time_or_message == "date" else "the message" + date_or_message = "the date" if time_or_message == "date" else "the message" # The empty embed has 76 characters if len(list_embed) <= 76: @@ -141,7 +141,7 @@ async def command_modify(ctx: SlashContext, time_or_message: str): else: await ctx.send(embed=list_embed) await ctx.channel.send( - f"Type the corresponding number to the reminder were you wish to change {first_message}. " + f"Type the corresponding number to the reminder were you wish to change {date_or_message}. " "Does not work with cron or interval. Type Exit to exit." )