Permission Decoder
Decode Discord Bitfield Permission
Request Information
GET https://exorion.xyz/api/discord/permission-decoder
https://exorion.xyz/api/discord/permission-decoderCode Examples
import requests
url = "https://exorion.xyz/api/discord/permission-decoder"
headers = {
"Authorization": "API_KEY", # Your Server API Key from /settings
"Content-type": "application/json"
}
params = {
"permission": "11816959" # Example permission bitfield
}
response = requests.get(url, headers=headers, params=params)
if response.status_code == 200:
permissions = response.json()
print("Decoded Permissions:", permissions)
else:
print("Error:", response.json())const url = new URL("https://exorion.xyz/api/discord/permission-decoder");
url.searchParams.set("permission", "11816959"); // Example permission number
fetch(url, {
method: "GET",
headers: {
"Authorization": "API_KEY", // Your Server API Key from /settings
"Content-type": "application/json"
}
})
.then(res => res.json())
.then(data => console.log("Decoded Permissions:", data))
.catch(err => console.error("Error:", err));Last updated