From 48baf94104dcc1ee8b5b9c8b3a89c17c01047aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Fri, 18 Dec 2020 23:30:40 +0100 Subject: [PATCH] Fix typo --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ba131fa..915b4ca 100644 --- a/main.py +++ b/main.py @@ -77,7 +77,8 @@ async def remind(ctx, message_date: str, message_reason: str): }, ) print(f"remind - Id: {job.id}, Name: {job.name}, kwargs: {job.kwargs}") - message = f"Hello {ctx.message.author.name}, I will notify you at:\n**{remove_timezone_from_date}**\nWith message:\n**{message_reason}**." + message = f"Hello {ctx.message.author.name}, I will notify you at:\n**{remove_timezone_from_date}**\nWith " \ + f"message:\n**{message_reason}**. " print(f"remind - Message we sent back to user in Discord: {message}") await ctx.send(message) @@ -91,7 +92,7 @@ async def send_to_discord(channel_id, message, author_id): if __name__ == "__main__": - # Enviroment variables + # Environment variables load_dotenv(verbose=True) sqlite_location = os.getenv("SQLITE_LOCATION", default="/jobs.sqlite") config_timezone = os.getenv("TIMEZONE", default="Europe/Stockholm")