From 08cf614a60020165a8b935899091884bba93929c Mon Sep 17 00:00:00 2001 From: imcompiling Date: Sun, 17 Dec 2023 12:45:41 -0500 Subject: [PATCH] Add new test command. --- cogs/commands/test.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/cogs/commands/test.py b/cogs/commands/test.py index 82e63a2..ad7233a 100644 --- a/cogs/commands/test.py +++ b/cogs/commands/test.py @@ -90,6 +90,23 @@ class TestCog(commands.Cog, name="Test commands."): ) 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() @is_me() async def election_reminder(self, interaction: nextcord.Interaction):