From 62dae378a573e8a0b8efb336fa3f480f7408c3c9 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 29 Jan 2025 13:30:27 +0000 Subject: [PATCH] use the base_url for the scheduler host of the discordbot --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 49c7081..53defa8 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -11,7 +11,7 @@ import logging bot_token = os.environ.get('DISCORDBOT_TOKEN', 'token') live_channel_id = os.environ.get('DISCORDBOT_LIVE_CHANNEL_ID', 0) live_channel_update = os.environ.get('DISCORDBOT_LIVE_CHANNEL_UPDATE', 1440) -scheduler_hostname = os.environ.get('SCHEDULER_API_HOSTNAME', 'api.example.com') +scheduler_hostname = os.environ.get('BASE_URL', 'example.com') # Discord API Intents intents = discord.Intents.all()