put https://unbelievaboat.com/api/v1/guilds//users/
Set the User's balance to the given params
Infinity should be sent as a String instead of a Number
Response
Set the User's balance to the given params
Infinity should be sent as a String instead of a Number
xxxxxxxxxx
const { Client } = require('unb-api');
const client = new Client('API_TOKEN');
​
const guildId = '305129477627969547';
const userId = '261674810914897931';
​
client.setUserBalance(guildId, userId, { cash: 200, bank: 0 });
Try It!
to start a request and see the response here! Or choose an example: