From 55067cb26935950a05e077f75948958ec460601a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 15 Jul 2023 23:26:31 -0400 Subject: [PATCH] fix: removed junk code that was preventing cog from loading --- pterodactyl/ptero.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index e934273..d16ff0b 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -270,16 +270,3 @@ class Pterodactyl(commands.Cog): else: send = f"Configuration changed:\n{message}" await interaction.response.send_message(send, ephemeral=True) - - -import requests - -headers = { - "Authorization": "Bearer ptlc_12FrmCqnbe1jdtE6AB1np4xL4xsNLl4b8FJVPE0dMWv", - "Content-Type": "application/json", - "Accept": "application/json" -} - -response = requests.post("https://mc.bloom.host/api/client/servers/d6d05b41-4da5-4c5b-9ee6-6e25f61a596b/power", headers=headers, json={"signal": "stop"}) -response_json = response.json() -print(response_json)