@@ -26,18 +26,18 @@ class MessageBuilder:
|
||||
|
||||
vote_end = self.get_datetime(self.config.election_cycles[self.cycle].voting_end)
|
||||
|
||||
message = f"====================\n\
|
||||
<@&{self.config.params.clan_member_role_id}>, it's time to vote for clan council.\n\n\
|
||||
React with <:{self.config.params.voting_emote_id}:> to vote. \
|
||||
Voting ends next Wednesday , {vote_end.date()}. \
|
||||
Announcement of the results to whole clan will happen {vote_end.date()}.\n\n\
|
||||
After a candidate receives 3 votes, their spot is secured in the new council, \
|
||||
but you can still vote for them to show your support.\n\n\
|
||||
**Just a reminder:** only the people listed below are eligible to vote, and each \
|
||||
clan member may **only vote for one person**. Votes from guests, diplomats, or allies \
|
||||
will be annulled. Votes for multiple candidates from the same person will not be counted. \n\n\
|
||||
RS3 Clan Members\n\
|
||||
OSRS Clan Members"
|
||||
message = "====================\n"
|
||||
message += f"<@&{self.config.params.clan_member_role_id}>, it's time to vote for clan council.\n\n"
|
||||
message += f"React with <:{self.config.params.voting_emote_id}> to vote. "
|
||||
message += f"Voting ends next Wednesday , {vote_end.date()}."
|
||||
message += f"Announcement of the results to whole clan will happen {vote_end.date()}.\n\n"
|
||||
message += "After a candidate receives 3 votes, their spot is secured in the new council, "
|
||||
message += "but you can still vote for them to show your support.\n\n"
|
||||
message += "**Just a reminder:** only the people listed below are eligible to vote, and each "
|
||||
message += "clan member may **only vote for one person**. Votes from guests, diplomats, or allies "
|
||||
message += "will be annulled.\nVotes for multiple candidates from the same person will not be counted. \n\n"
|
||||
message += "RS3 Clan Members\n"
|
||||
message += "OSRS Clan Members"
|
||||
|
||||
return message
|
||||
|
||||
|
||||
@@ -37,4 +37,5 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
msg_bulder = MessageBuilder(self.bot.config, 0)
|
||||
message = msg_bulder.get_vote_start()
|
||||
|
||||
# doesn't tell discord that the message was responded to. Is a test command so I don't really care atm.
|
||||
await interaction.channel.send(content=message)
|
||||
|
||||
Reference in New Issue
Block a user