fix: possibly fixed config fetching in updatebuttons

This commit is contained in:
Seaswimmer 2023-07-16 08:17:56 -04:00
parent 1324f829b8
commit e2c1b394f3
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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):