Small documentation of my Discord-Rich-Presence API.
Visit it on: discord-status.me
- Join discord.gg/ebio
- Copy your userID.
- Visit
https://api.discord-status.me/raw/:userID
-
Replace
:userID
with your discord userID
Below is the scheme of the raw response.
{
"activities": [
"Activity Object(s)"
],
"custom_status": {
"created_at": "null || Unix Timestamp",
"emoji": "null || emojiObject",
"text": "null || String"
},
"device": {
"desktop": "bool",
"mobile": "bool",
"web": "bool",
"raw": "bool // desktop or mobile or web"
},
"spotify": {
"active": "bool",
"data": "null || spotifyObject"
},
"status": "int",
"status_image": "String",
"status_text": "String",
"user": {
"avatar": "String",
"bot": "bool",
"discriminator": "String",
"id": "String",
"public_flags": "int",
"username": "String"
}
}
{
"assets*": {
"large_image": "https://i.scdn.co/image/ab67616d0000b273f44798b00503b6c57b88406c",
"large_text*": "HYSTERIA",
"small_image": "https://api.discord-status.me/assets/images/unknown.png"
},
"created_at*": 1658170937294,
"details*": "HYSTERIA",
"flags": 48,
"id": "spotify:1",
"images": {
"large_image": "https://i.scdn.co/image/ab67616d0000b273f44798b00503b6c57b88406c",
"small_image": "https://api.discord-status.me/assets/images/unknown.png"
},
"name": "Spotify",
"party*": {
"id*": "spotify:910213408576659517"
},
"session_id*": "ff5518c34922a079d5acee79de9ae7eb",
"state*": "WoLRa; zyx",
"sync_id*": "5ODC2OUMssM7B61walhPJH",
"timestamps*": {
"end*": 1658171071350,
"start*": 1658170936610
},
"type*": 2
}
{
"application_id*": "383226320970055681",
"assets": {
"large_image": "https://cdn.discordapp.com/app-assets/383226320970055681/603581316352442376.png",
"large_text*": "Editing a SVELTE file",
"small_image": "https://cdn.discordapp.com/app-assets/383226320970055681/565945770067623946.png",
"small_text*": "Visual Studio Code"
},
"created_at*": 1658166248756,
"details*": "Editing Nav.svelte",
"id*": "89f33982e0aef243",
"images": {
"large_image": "https://cdn.discordapp.com/app-assets/383226320970055681/603581316352442376.png",
"small_image": "https://cdn.discordapp.com/app-assets/383226320970055681/565945770067623946.png"
},
"name": "Visual Studio Code",
"state*": "Workspace: xev.dev",
"timestamps*": {
"start*": 1658157199661
},
"type*": 0
}
{
"name": "pepestare",
"value": "http://cdn.discordapp.com/emojis/991887626581840002.gif?size=96&quality=lossless"
}
{
"name": "logo",
"value": "http://cdn.discordapp.com/emojis/991891535106949171.png?size=96&quality=lossless"
}
{
"name": ":gear:",
"value": "https://discord.com/assets/a6d05968d7706183143518d96c9f066e.svg"
}
Value | Shift | Name |
---|---|---|
1 | 1 << 0 | Discord Employee |
2 | 1 << 1 | Partnered Server Owner |
4 | 1 << 2 | HypeSquad Events |
8 | 1 << 3 | Bug Hunter Level 1 |
16 | 1 << 4 | ??? |
32 | 1 << 5 | ??? |
64 | 1 << 6 | House of Bravery |
128 | 1 << 7 | House of Brilliance |
256 | 1 << 8 | House of Balance |
512 | 1 << 9 | Early Supporter |
1024 | 1 << 10 | Team User |
2048 | 1 << 12 | System |
4096 | 1 << 13 | Bug Hunter Level 2 |
8192 | 1 << 14 | ??? |
32768 | 1 << 15 | ??? |
65536 | 1 << 16 | Verified Bot |
131072 | 1 << 17 | Early Verified Bot Developer |
ID | Status Text | Status Image |
---|---|---|
0 | Offline | |
1 | Online | |
2 | Idle | |
3 | Do Not Disturb |
- Add Public Flag Names
- Usercards to display in Github README's (Using SVGs)