Renamed to DakinySettings. Converted dataclass to YAMLWizard.
build_develop / build (push) Failing after 17s

This commit is contained in:
2024-09-03 14:37:06 -04:00
parent b15e99ca68
commit 62f53bde55
14 changed files with 76 additions and 58 deletions
+8 -8
View File
@@ -9,7 +9,7 @@ from classes.election import Election
from utils import GUILDS, get_current_election_cycle
if TYPE_CHECKING:
from DakinyConfig import DakinyConfig
from DakinySettings import DakinySettings
ME = 206602713511886849
@@ -44,7 +44,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -62,7 +62,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -80,7 +80,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -98,7 +98,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -116,7 +116,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -134,7 +134,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,
@@ -152,7 +152,7 @@ class TestCog(commands.Cog, name="Test commands."):
Args:
interaction (nextcord.Interaction): Interaction with the message.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = Election(
get_current_election_cycle(config),
config,