vcodes.js
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

vcodes.js

NPM Version NPM Downloads

Installation

This is a Node.js module available through the npm registry. Installation is done using the npm install command:

Documentation

$ npm install vcodes.js

Usage

const { Client } = require("vcodes.js");
const client = new Client("Your-Token");

Functions

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<>

Events

Name
ready
reconnected
reconnecting
reminder
vote

License

MIT

Package Sidebar

Install

npm i vcodes.js

Weekly Downloads

76

Version

4.0.1

License

MIT

Unpacked Size

26.4 kB

Total Files

39

Last publish

Collaborators

  • clqu