From e2c1b394f3cb47c2db9166e617dc9f3abe267b7b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 16 Jul 2023 08:17:56 -0400 Subject: [PATCH] fix: possibly fixed config fetching in updatebuttons --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 4216857..16ae4a3 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -119,7 +119,7 @@ class Pterodactyl(commands.Cog): def __init__(self, timeout, passed_info): super().__init__() self.passed_info = passed_info - self.config = Config.get_conf(self, identifier=457581387213637448123567) + self.config = Config.get_conf(None, cog_name='Pterodactyl', identifier=457581387213637448123567) @ui.button(label="Yes", style=discord.ButtonStyle.success) async def yes_button(self, button:ui.Button, interaction:discord.Interaction):