Fill out build_highcouncil_election_announce
This commit is contained in:
@@ -71,7 +71,7 @@ class ElectionCycle:
|
|||||||
|
|
||||||
return message.split("---message_break---")
|
return message.split("---message_break---")
|
||||||
|
|
||||||
def build_highcouncil_election(self) -> str:
|
def build_highcouncil_election_announce(self) -> str:
|
||||||
"""
|
"""
|
||||||
Builds message to announce highcouncil election start.
|
Builds message to announce highcouncil election start.
|
||||||
|
|
||||||
@@ -82,7 +82,13 @@ class ElectionCycle:
|
|||||||
with open("bot_messages/highcouncil_election.txt", mode="r", encoding="utf8") as file:
|
with open("bot_messages/highcouncil_election.txt", mode="r", encoding="utf8") as file:
|
||||||
message = file.read()
|
message = file.read()
|
||||||
|
|
||||||
return message.format()
|
return message.format(
|
||||||
|
clan_council_elect_role_id=self.config.params.clan_council_elect_role_id,
|
||||||
|
highcouncil_election_announce=self.highcouncil_election_announce.strftime("%B %d"),
|
||||||
|
highcouncil_election_start=self.highcouncil_election_start.strftime("%B %d"),
|
||||||
|
highcouncil_election_end=self.highcouncil_election_end.strftime("%B %d"),
|
||||||
|
term_start_date=self.term_start.strftime("%B %d"),
|
||||||
|
)
|
||||||
|
|
||||||
def build_vote_start(self) -> str:
|
def build_vote_start(self) -> str:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user