Correct election name mixup. Use the highcouncil build string.
This commit is contained in:
@@ -21,6 +21,7 @@ from database_setup.sql_data_classes import (
|
||||
engine,
|
||||
)
|
||||
from utils import (
|
||||
build_highcouncil_votes_str,
|
||||
build_votes_str,
|
||||
get_cl_election_name,
|
||||
get_datetime,
|
||||
@@ -304,8 +305,10 @@ class ElectionCycle:
|
||||
election_thread: nextcord.Thread = self.guild.get_thread(
|
||||
self.get_election_info().ThreadId
|
||||
)
|
||||
await election_thread.send(message)
|
||||
vote_msg = await election_thread.send(
|
||||
message, view=VoteHighcouncilView(self.config, self.guild)
|
||||
build_highcouncil_votes_str(self.config),
|
||||
view=VoteHighcouncilView(self.config, self.guild),
|
||||
)
|
||||
|
||||
with Session(engine) as session:
|
||||
|
||||
Reference in New Issue
Block a user