Alphabetically sorted DakinySettings.
This commit is contained in:
+11
-11
@@ -23,17 +23,26 @@ class ChannelIds:
|
||||
class Election:
|
||||
"""Class defines relevant election dates."""
|
||||
|
||||
name: str
|
||||
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 EventSettings:
|
||||
"""Class defines settings editable by Clan Council."""
|
||||
|
||||
host_points: int
|
||||
participate_points: int
|
||||
weekly_limit: int
|
||||
|
||||
|
||||
@dataclass
|
||||
class Params:
|
||||
"""Class defines start parameters that shouldn't be changed."""
|
||||
@@ -47,22 +56,13 @@ class Params:
|
||||
class RoleIds:
|
||||
"""Class holds all role ids needed by bot."""
|
||||
|
||||
clan_council_elect: int
|
||||
clan_council: int
|
||||
clan_council_elect: int
|
||||
clan_member: int
|
||||
event_host: int
|
||||
high_council: int
|
||||
|
||||
|
||||
@dataclass
|
||||
class EventSettings:
|
||||
"""Class defines settings editable by Clan Council."""
|
||||
|
||||
host_points: int
|
||||
participate_points: int
|
||||
weekly_limit: int
|
||||
|
||||
|
||||
@dataclass
|
||||
class DakinySettings(YAMLWizard):
|
||||
"""Class defines all configs required for Dakiny Bot."""
|
||||
|
||||
Reference in New Issue
Block a user