General rework to the voting views.
build_develop / build (push) Successful in 1m31s

This commit is contained in:
2023-11-03 11:55:57 -04:00
parent fa3284b9e3
commit 14f2e13772
3 changed files with 40 additions and 23 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ def main(cfg: DakinyConfig):
assert bot.user is not None
create_database # pylint: disable=pointless-statement
bot.add_view(NominateView(cfg))
bot.add_view(VoteView())
bot.add_view(VoteView(cfg, bot.get_guild(cfg.params.guild_id)))
print(f"{bot.user.name} has connected to Discord!")
# Run Discord bot