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")