Slight refactor, added voting start action.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user