DVRClient options
Here you have a guide on what each option does in the DVRClient constructor, and which other options you can apply.
const { Client } = require("discord.js");
const client = new Client();
const { DVRClient } = require("discord-vr");
const dvrclient = new DVRClient({
client,
userID: String,
rewardAmount: Number,
port: Number
});
clientis how your client is declared, if you’ve declared it as client just add client, <other options> however, if you declare it asbotyou’ll have to useclient: botuserIDis the bot’s user ID as a string, it must be a string since its needed for authorizing the requests from the botlists.rewardAmountis how much a user will get when voting.portis the port for express to listen to.
Last updated
Was this helpful?