From 1cc6afacb2094b04d5d37afdecb9190c2f842e9f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 15 Jul 2023 18:25:04 -0400 Subject: [PATCH] awaited an interaction_message.edit --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 1440fd9..f1f36c7 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -102,7 +102,7 @@ class Pterodactyl(commands.Cog): continue for data in new_put_data: await self.put(await self.get_url(interaction.guild, "startup/variable"), headers, data) - interaction_message.edit(content="Packwiz installer finished.\nUpdate process completed!") + 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))