Files
discord-heidi/heidi_config.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

20 lines
468 B
Python

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: [],
}