use the base_url for the scheduler host of the discordbot

This commit is contained in:
deflax 2025-01-29 13:30:27 +00:00
parent d6b653fd60
commit 62dae378a5

View file

@ -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()