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