Some checks failed
Build Heidi Docker image / build-docker (push) Failing after 28s
29 lines
925 B
Python
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
|