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
+2 -2
View File
@@ -17,7 +17,7 @@ from utils import get_current_election_cycle
if TYPE_CHECKING:
import nextcord
from DakinyConfig import DakinyConfig
from DakinySettings import DakinySettings
KANDY = 239547993106284544
@@ -76,7 +76,7 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
Returns:
Election: Current election cycle, None if there is no election happening.
"""
config: DakinyConfig = self.bot.config
config: DakinySettings = self.bot.config
cycle = get_current_election_cycle(config)
# prevent exception from using cycle as an Int in an array