Slight refactor, added voting start action.

This commit is contained in:
2023-07-16 23:56:44 -04:00
parent a6c6a80f8f
commit 7bded4aa57
4 changed files with 31 additions and 18 deletions
+11
View File
@@ -53,3 +53,14 @@ class TestCog(commands.Cog, name="Test commands."):
cycle = ElectionCycle(0, self.bot)
await cycle.election_start_action()
@test.subcommand()
async def voting_start(self, interaction: nextcord.Interaction):
"""
tests the voting start action
Args:
interaction (nextcord.Interaction): _description_
"""
cycle = ElectionCycle(0, self.bot)
await cycle.voting_start_action()