Files
discord-heidi/heidi_constants.py
Christoph Urlacher 6659079d7a
Some checks failed
Build Heidi Docker image / build-docker (push) Failing after 28s
Clean up type hints everywhere, overhaul bot configuration
2025-09-23 20:39:11 +02:00

29 lines
925 B
Python

import os
from discord.object import Object
from dotenv import load_dotenv
# This is run when this file is imported
HAS_VARIABLES: bool = load_dotenv()
print("Debug: Importing heidi_constants.py")
# =========================================================================== #
# =========================================================================== #
DOCKER: bool = os.getenv("DOCKER") == str(True)
# =========================================================================== #
# =========================================================================== #
# Constants
CONFIGPATH: str = "/config" if DOCKER else "."
USERCONFIGNAME: str = "Heidi_User.conf"
SOUNDDIR: str = "/sounds" if DOCKER else "./heidi-sounds"
# IDs of the servers Heidi is used on
LINUS_GUILD: Object = Object(id=431154792308408340)
TEST_GUILD: Object = Object(id=821511861178204161)
# Channel IDs
HEIDI_SPAM_ID: int = 822223476101742682