diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 201378e..e78185c 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -79,9 +79,9 @@ class Pterodactyl(commands.Cog): except LookupError as e: 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: + async with session.get(await self.get_url(interaction.guild, "resources"), headers=headers) as response: response_dict = response.json() - async with session.get(await self.get_url(interaction.guild, "startup", headers=headers)) as response: + async with session.get(await self.get_url(interaction.guild, "startup"), headers=headers) as response: list_var_response_dict = response.json() updater_startup_vars = [ {