This commit is contained in:
@@ -35,6 +35,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
"""
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def msg_builder(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
Tests the message builder.
|
||||
@@ -52,6 +53,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await interaction.channel.send(content=m)
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def election_start(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
idc
|
||||
@@ -69,6 +71,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await cycle.election_start_action()
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def voting_start(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
tests the voting start action
|
||||
@@ -85,6 +88,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await cycle.voting_start_action()
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def voting_end(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
tests the voting start action
|
||||
@@ -101,6 +105,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await cycle.voting_end_action()
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def election_reminder(self, interaction: nextcord.Interaction):
|
||||
config: DakinyConfig = self.bot.config
|
||||
cycle = ElectionCycle(
|
||||
@@ -111,6 +116,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await cycle.election_reminder()
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def daily(self, interaction: nextcord.Interaction):
|
||||
config: DakinyConfig = self.bot.config
|
||||
cycle = ElectionCycle(
|
||||
@@ -121,6 +127,7 @@ class TestCog(commands.Cog, name="Test commands."):
|
||||
await cycle.check_date()
|
||||
|
||||
@test.subcommand()
|
||||
@is_me()
|
||||
async def term_start(self, interaction: nextcord.Interaction):
|
||||
config: DakinyConfig = self.bot.config
|
||||
cycle = ElectionCycle(
|
||||
|
||||
Reference in New Issue
Block a user