fix: removed junk code that was preventing cog from loading
This commit is contained in:
parent
b2ba7f165d
commit
55067cb269
1 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue