Clean up type hints everywhere, overhaul bot configuration
Some checks failed
Build Heidi Docker image / build-docker (push) Failing after 28s

This commit is contained in:
2025-09-23 20:39:11 +02:00
parent 591f4ea191
commit 6659079d7a
5 changed files with 331 additions and 183 deletions

19
heidi_config.py Normal file
View File

@ -0,0 +1,19 @@
from enum import Enum
class ConfigSection(Enum):
FLAGS = "FLAGS"
ENTRANCE_SOUND = "ENTRANCE.SOUND"
class FlagsConfigKey(Enum):
DISABLE_JOIN_SOUND_IF_ALONE = "disable_join_sound_if_alone"
# NOTE: This is the default configuration scheme
USER_CONFIG_SCHEME: dict[str, list[tuple[str, str]]] = {
ConfigSection.FLAGS.value: [
(FlagsConfigKey.DISABLE_JOIN_SOUND_IF_ALONE.value, str(True)),
],
ConfigSection.ENTRANCE_SOUND.value: [],
}