/add
Adds a specific emoji reaction to a message
Last updated
const axios = require('axios');
(async () => {
return await axios.post('https://bdfddata.rickyjs.xyz/<version>/reaction/add', {
emoji: [<EMOJI1>, <EMOJI2>, ...]
}, {
headers: {
'apikey': <YOUR-API-KEY>,
'bot-token': <YOUR-BOT-TOKEN>,
'guild-id': '1064098700307218463',
'chan-id': '1064098700307218463',
'msg-id': '1064098700847210194'
}
}).then(res=>res.data)
})(){
status: 200,
// if successful, nothing gets returned. else will say 'Unkown Emoji'
}{
status: 400
error: 'Cannot read ... (This can vary)'
}{
status: 401,
details: { message: '401: Unauthorized', code: 0 }
}