fix: testing a fix for the previous commit
This commit is contained in:
parent
73f6520fac
commit
b5f081d479
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ class Pterodactyl(commands.Cog):
|
|||
"headers": headers,
|
||||
"updater_startup_vars": updater_startup_vars,
|
||||
"old_startup_vars": old_startup_vars,
|
||||
"interaction_message": interaction_message
|
||||
"interaction": interaction
|
||||
}
|
||||
await interaction_message.edit(content="The server is already running! Are you sure you'd like to stop the server for updates?", view=self.UpdateButtons(timeout=180, passed_info=passed_info))
|
||||
|
||||
|
@ -167,7 +167,7 @@ class Pterodactyl(commands.Cog):
|
|||
async def no_button(self, button:ui.Button, interaction:discord.Interaction):
|
||||
for button in self.children:
|
||||
button.disabled = True
|
||||
await interaction.edit_original_response(content=f"Command cancelled.", view=self)
|
||||
await self.passed_info['interaction'].edit_original_response(content=f"Command cancelled.", view=self)
|
||||
|
||||
@app_commands.command()
|
||||
async def test(self, interaction: discord.Interaction, endpoint: str = None):
|
||||
|
|
Reference in a new issue