Process voting end.
build_develop / build (push) Successful in 1m41s

Give the elect role and set elected in database.
This commit is contained in:
2023-11-03 15:06:52 -04:00
parent 66e7159022
commit 3fb65a7b0a
3 changed files with 56 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class VoteSelect(nextcord.ui.StringSelect):
session.commit()
vote_message_str = build_votes_str(self.config)
vote_msg = await interaction.channel.fetch_message(vote_msg_id)
vote_msg: nextcord.Message = await interaction.channel.fetch_message(vote_msg_id)
await vote_msg.edit(content=vote_message_str)
if voted_for is not None: