/emojis
Returns information from the applications emoji or emoji list
Last updated
const axios = require('axios');
(async () => {
return await axios.get('https://bdfddata.rickyjs.xyz/<version>/client/emojis', {
headers: {
"apikey": "<YOUR-API-KEY>",
"bot-token": "<YOUR-BOT-TOKEN>",
"app-id": "1064100501764968488",
"emoji": "1064859897956663336" // Optional header
}
}).then(res => res.data)
})(){
"status": 200,
"details": {
"items": [
{
"animated": true,
"available": true,
"id": "123456789",
"managed": false,
"name": "coolemoji1",
"require_colons": true,
"roles": []
},
{
"animated": false,
"available": true,
"id": "987654321",
"managed": false,
"name": "eoolemoji2",
"require_colons": true,
"roles": []
}
]
}
}[
{
"status": 200,
"details": {
"animated": true,
"id": "123456789",
"identifier": "<:coolemoji1:123456789>",
"name": "coolemoji1"
}
},
{
"animated": false,
"id": "987654321",
"identifier": "<:coolemoji2:987654321>",
"name": "coolemoji2"
}
]{
status: 400
error: 'Cannot read ... (This can vary)'
}{
status: 401,
details: { message: '401: Unauthorized', code: 0 }
}{
status: 404,
error: "Emoji not found"
}