From 99a6a0dfda13a44b394525bed1807b2eac72fede Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 16 Jul 2023 08:36:00 -0400 Subject: [PATCH] misc: changed some strings --- pterodactyl/ptero.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index c512a84..93945e1 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -90,14 +90,14 @@ class Pterodactyl(commands.Cog): for data in updater_startup_vars: await self.put(await self.get_url(interaction.guild, "startup/variable"), headers, data) requests.post(await self.get_url(interaction.guild, "power"), headers=headers, json={"signal": "start"}) - await interaction_message.edit(content="Packwiz installer started...") + await interaction_message.edit(content="Updater started...") await asyncio.sleep(1) while True: async with aiohttp.ClientSession() as session: async with session.get(await self.get_url(interaction.guild, "resources"), headers=headers) as response: response_dict = await response.json() if response_dict['attributes']['current_state'] == "offline": - await interaction_message.edit(content="Packwiz installer finished.") + await interaction_message.edit(content="Updater finished.") break else: await asyncio.sleep(1) @@ -138,14 +138,14 @@ class Pterodactyl(commands.Cog): for data in self.passed_info['updater_startup_vars']: await Pterodactyl.put(self, url=await Pterodactyl.get_url(self, self.passed_info['guild'], "startup/variable"), headers=self.passed_info['headers'], data=data) requests.post(url=await Pterodactyl.get_url(self, self.passed_info['guild'], "power"), headers=self.passed_info['headers'], json={"signal": "start"}) - await self.passed_info['interaction'].edit_original_response(content="Packwiz installer started...") + await self.passed_info['interaction'].edit_original_response(content="Updater started...") await asyncio.sleep(2) while True: async with aiohttp.ClientSession() as session: async with session.get(await Pterodactyl.get_url(self, self.passed_info['guild'], "resources"), headers=self.passed_info['headers']) as response: response_dict = await response.json() if response_dict['attributes']['current_state'] == "offline": - await self.passed_info['interaction'].edit_original_response(content="Packwiz installer finished!") + await self.passed_info['interaction'].edit_original_response(content="Updater finished!") break else: await asyncio.sleep(1)