change: text changed in update command

This commit is contained in:
Seaswimmer 2023-07-15 18:57:30 -04:00
parent 0b262eed2b
commit fa2b5a034d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -106,7 +106,7 @@ class Pterodactyl(commands.Cog):
await interaction_message.edit(content="Packwiz installer finished.\nUpdate process completed!")
elif response_dict['attributes']['current_state'] == "running" or response_dict['attributes']['current_state'] == "starting":
passed_info = [old_startup_args[0], old_startup_args[1], headers, put_data, new_put_data, interaction_message]
await interaction_message.edit(content="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))
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))
class UpdateButtons(discord.ui.View):
def __init__(self, timeout, passed_info):