Pass config along so that nominate can add to database with election cycle name.

This commit is contained in:
2023-11-02 15:05:48 -04:00
parent 647af0353d
commit 133ff79b94
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class ElectionCycle:
for index, message in enumerate(messages):
# if last item, add the nominate button
if index + 1 == len(messages):
await election_channel.send(message, view=NominateView())
await election_channel.send(message, view=NominateView(self.config))
else:
await election_channel.send(message)