misc: no longer leaking an (invalidated) api key

This commit is contained in:
Seaswimmer 2023-07-15 19:16:58 -04:00
parent 26c0ad8b63
commit dd2a031084
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -267,14 +267,3 @@ class Pterodactyl(commands.Cog):
else: else:
send = f"Configuration changed:\n{message}" send = f"Configuration changed:\n{message}"
await interaction.response.send_message(send, ephemeral=True) await interaction.response.send_message(send, ephemeral=True)
import requests
headers = {
"Authorization": "Bearer ptlc_9BVTvT41F7mNtG7YIqaxhOySf4Z8YDmVYwaITwwIbA7",
"Content-Type": "application/json",
"Accept": "Application/vnd.pterodactyl.v1+json"
}
request = requests.get("https://mc.bloom.host/api/client/servers/d6d05b41-4da5-4c5b-9ee6-6e25f61a596b/startup", headers=headers)
request_dict = request.json()
print(request_dict)