Updated files in classes directory to use new configs. Ensured usages are updated.

This commit is contained in:
2024-09-03 15:57:50 -04:00
parent 2244765d87
commit 3b289e74c8
8 changed files with 78 additions and 109 deletions
-7
View File
@@ -47,7 +47,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.election_start_action()
@@ -65,7 +64,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.voting_start_action()
@@ -83,7 +81,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.voting_end_action()
@@ -101,7 +98,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.highcouncil_election_start_action()
@@ -119,7 +115,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.election_reminder()
@@ -137,7 +132,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.check_date()
@@ -155,7 +149,6 @@ class TestCog(commands.Cog, name="Test commands."):
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
self.bot.get_guild(config.params.guild_id),
)
await cycle.term_start_action()