fix: removed junk code that was preventing cog from loading

This commit is contained in:
Seaswimmer 2023-07-15 23:26:31 -04:00
parent b2ba7f165d
commit 55067cb269
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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)