fix: fixed update command again

This commit is contained in:
Seaswimmer 2023-07-23 14:08:15 -04:00
parent 5398fb77a8
commit 601a9642c7
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -80,9 +80,9 @@ class Pterodactyl(commands.Cog):
await interaction_message.edit(f"Something went wrong.\nError: `{e}`", ephemeral=True) await interaction_message.edit(f"Something went wrong.\nError: `{e}`", ephemeral=True)
return 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() response_dict = await 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() list_var_response_dict = await response.json()
updater_startup_vars = [ updater_startup_vars = [
{ {
"key": "FLAGS", "key": "FLAGS",