Getting Started

A step-by-step guide on how to use Discord-VR!

Installing

Package is currently under re write and cannot be installed!

Firstly, you’ll need to install the lates version of the package, you can do so by typing the following in the console npm i discord-vr@latest

If required, you can install any other version, but it may be unstable and there will be less or no support to that version!

Once the package is installed, copy or follow the code down below to set up Discord-VR:

const { Client } = require("discord.js");
const client = new Client();
const { DVRClient } = require("discord-vr");
const dvrclient = new DVRClient({
    client,
    userID: "1234567890",
    rewardAmount: 150,
    port: 3000
});

client.login("token");

More information on the DVRClient options can be found under Advanced Set-Up section.

Last updated