Change DakinyConfig.py file name.

This commit is contained in:
2024-09-03 13:53:11 -04:00
parent f00b6502f6
commit 628152c22c
12 changed files with 12 additions and 12 deletions
+49
View File
@@ -0,0 +1,49 @@
"""File contains classes defining the Hydra configuration structure."""
from dataclasses import dataclass
@dataclass
class Params:
"""Class defines the various configuration parameters."""
admin_channel_id: int # might want to rename this...
announcement_category_id: int
clan_council_elect_role_id: int
clan_council_role_id: int
clan_info_channel_id: int
clan_member_role_id: int
discord_token: str
event_host_points: int
event_host_role_id: int
event_participate_points: int
event_points_weekly_limit: int
event_post_channel_id: int
general_channel_id: int
git_branch: str
guild_id: int
high_council_role_id: int
voting_parent_id: int
@dataclass
class Election:
"""Class defines relevant election dates."""
election_start: str
highcouncil_election_announce: str
highcouncil_election_end: str
highcouncil_election_start: str
name: str
term_end: str
term_start: str
voting_end: str
voting_start: str
@dataclass
class DakinyConfig:
"""Class defines all configs required for Dakiny Bot."""
election_cycles: list[Election]
params: Params