From 72e7d83bd7567ec67f0b9d6b913a781563a27f4c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 24 Jul 2023 08:59:45 -0400 Subject: [PATCH] cleanup: removed obsolete method --- pterodactyl/ptero.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 9437702..cee959d 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -53,12 +53,6 @@ class Pterodactyl(commands.Cog): url += '/' + endpoint return url - async def put(self, url: str, headers: dict, data: dict): - """Sends an asyncio PUT request to the specified URL with the specified headers and data.""" - async with aiohttp.ClientSession() as session: - async with session.put(url, headers=headers, json=data) as response: - return response - @app_commands.command(name="update", description="Updates the server.") @app_commands.guild_only() async def update(self, interaction: discord.Interaction):