misc: no longer leaking an (invalidated) api key
This commit is contained in:
parent
26c0ad8b63
commit
dd2a031084
1 changed files with 0 additions and 11 deletions
|
@ -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)
|
|
||||||
|
|
Reference in a new issue