From 601a9642c70cdd41085c9fef3b755ea211163a6b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 23 Jul 2023 14:08:15 -0400 Subject: [PATCH] fix: fixed update command again --- pterodactyl/ptero.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index e78185c..5d5b639 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -80,9 +80,9 @@ class Pterodactyl(commands.Cog): await interaction_message.edit(f"Something went wrong.\nError: `{e}`", ephemeral=True) return async with session.get(await self.get_url(interaction.guild, "resources"), headers=headers) as response: - response_dict = response.json() + response_dict = await response.json() async with session.get(await self.get_url(interaction.guild, "startup"), headers=headers) as response: - list_var_response_dict = response.json() + list_var_response_dict = await response.json() updater_startup_vars = [ { "key": "FLAGS",