fix: fixed update command

This commit is contained in:
Seaswimmer 2023-07-23 14:05:03 -04:00
parent 85fa243732
commit 5398fb77a8
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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 = [
{