Filled out term start action.
build_develop / build (push) Successful in 1m32s

This commit is contained in:
2023-11-08 16:11:47 -05:00
parent 27f90bbaef
commit 431e9c0b35
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -300,6 +300,16 @@ class ElectionCycle:
self.election_over = True
election_thread: nextcord.Thread = self.guild.get_thread(
self.get_election_info().ThreadId
)
await election_thread.send(
"This election cycle is now over. Thank you everyone for participating!"
)
await election_thread.edit(archived=True, locked=True)
def get_election_info(self) -> ElectionInformation:
"""
Gets information for current election.