/set
Modify the current Application/User (Previously /setbot)
Last updated
$httpAddHeader[apikey;<YOUR-API-KEY>]
$httpPost[https://bdfddata.rickyjs.xyz/<version>/client/set;{
'obj': {
'username': 'CoolBot1'
},
'type': 'user'
}]
$httpResult OR $httpResult[details]const axios = require('axios');
(async () => {
return await axios.post('https://bdfddata.rickyjs.xyz/<version>/client/set', {
'obj': {
'username': 'CoolBot1'
},
'type': 'user'
},
{
headers: {
'apikey': '<YOUR-API-KEY>'
}
}).then(res=>res.data)
})(){
status: 200,
details: {
"id": "1064100501764968488",
"username": "BDFDData",
"avatar": "9d119ef13aa1a6162543a0de7cc96af2",
"discriminator": "6039",
"public_flags": 65536,
"flags": 65536,
"bot": true,
"banner": null,
"accent_color": null,
"avatar_decoration_data": null,
"collectibles": null,
"banner_color": null,
"clan": null,
"mfa_enabled": true,
"locale": "en-US",
"premium_type": 0,
"verified": true
}, }
}{
status: 400
error: 'Cannot read ... (This can vary)'
} status: 404,
error: 'User cannot be found'
}