fix: possibly fixed config fetching in updatebuttons
This commit is contained in:
parent
1324f829b8
commit
e2c1b394f3
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue