misc: removed useless variable from update command

This commit is contained in:
Seaswimmer 2023-07-16 13:36:19 -04:00
parent f3714ac02b
commit 41f24aa7af
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -66,7 +66,6 @@ class Pterodactyl(commands.Cog):
await interaction_message.edit(f"Something went wrong.\nError: `Startup arguments not set.`", ephemeral=True)
raise LookupError("Startup arguments not set.")
else:
api_key = await self.config.guild(interaction.guild).api_key()
startup_jar = await self.config.guild(interaction.guild).startup_jar()
startup_commands = await self.config.guild(interaction.guild).startup_arguments()
headers = await self.get_headers(interaction.guild)