Javascript
Official vCodes.xyz Javascript API Wrapper
Last updated
Official vCodes.xyz Javascript API Wrapper
Last updated
This is a Node.js module available through the npm registry. Installation is done using the npm install
command:
Usage | Params | @returns |
---|---|---|
Name |
---|
ready
reconnected
reconnecting
reminder
vote
client.getVoters()
No params needed
Promise<>
client.checkVote(userId)
userId
Promise<>
client.getAnnouncements()
No params needed
Promise<>
client.addAnnouncement({})
title, description
Promise<>
client.deleteAnnouncement(id)
id
Promise<>
client.addCommand({})
name, description, syntax, category?
Promise<>
client.getCommands(id)
id
Promise<>
client.editCommand({})
id, name, description, syntax, category?
Promise<>
client.deleteCommand(id)
No params needed
Promise<>
client.setUses({})
id, uses
Promise<>