Add new test command.

This commit is contained in:
2023-12-17 12:45:41 -05:00
parent 18d433ce8c
commit 08cf614a60
+17
View File
@@ -90,6 +90,23 @@ class TestCog(commands.Cog, name="Test commands."):
) )
await cycle.voting_end_action() await cycle.voting_end_action()
@test.subcommand()
@is_me()
async def highcouncil_vote(self, interaction: nextcord.Interaction):
"""
tests the voting start action
Args:
interaction (nextcord.Interaction): _description_
"""
config: DakinyConfig = self.bot.config
cycle = ElectionCycle(
get_current_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.highcouncil_election_start_action()
@test.subcommand() @test.subcommand()
@is_me() @is_me()
async def election_reminder(self, interaction: nextcord.Interaction): async def election_reminder(self, interaction: nextcord.Interaction):