Split Heidi into multiple parts
All checks were successful
Build Heidi Docker image / build-docker (push) Successful in 28s

This commit is contained in:
2023-12-09 17:14:05 +01:00
parent 16822e0212
commit 2e493e404b
5 changed files with 227 additions and 217 deletions

22
heidi_constants.py Normal file
View File

@ -0,0 +1,22 @@
import os
import discord
from dotenv import load_dotenv
# This is run when this file is imported
load_dotenv()
# ================================================================================================ #
# ================================================================================================ #
# NOTE: Always set this correctly:
DOCKER = os.getenv("DOCKER") == "True"
# ================================================================================================ #
# ================================================================================================ #
# Constants
CONFIGPATH = "/config" if DOCKER else "."
USERCONFIGNAME = "Heidi_User.conf"
# IDs of the servers Heidi is used on
LINUS_GUILD = discord.Object(id=431154792308408340)
TEST_GUILD = discord.Object(id=821511861178204161)