vCodes
  • API Reference
  • RESOURCES
    • Bots
    • Bot
      • Vote
      • Commands
      • Announcements
  • LIBRARIES
    • Javascript
Powered by GitBook
On this page
  • vcodes.js
  • Installation
  • Usage
  • Functions
  • Events

Was this helpful?

Export as PDF
  1. LIBRARIES

Javascript

Official vCodes.xyz Javascript API Wrapper

PreviousAnnouncements

Last updated 2 years ago

Was this helpful?

vcodes.js

Installation

This is a module available through the . Installation is done using the :

$ 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

Edit on Github this Package
Node.js
npm registry
npm install command
NPM Version
NPM Downloads