![NPM Downloads](https://camo.githubusercontent.com/f8e5f8674492b0c6bc2ea3d447305ea0bc25aba579820515e0951589a39bcb32/68747470733a2f2f62616467656e2e6e65742f6e706d2f646d2f76636f6465732e6a73)
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
const { Client } = require("vcodes.js");
const client = new Client("Your-Token");
Usage |
Params |
@returns |
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<> |
Name |
ready |
reconnected |
reconnecting |
reminder |
vote |
MIT