Functions
Discord-VR does not only offer you the option to reward users for voting, but also let’s you fetch a specific user’s data.
const { Client } = require("discord.js");
const client = new Client();
const { DVRClient } = require("discord-vr";
const dvrclient = nee DVRClient({
client,
userID: "1234567890",
rewardAmount: 300,
port: 2000
});
let userd = await dvr.getData(userID, type);Last updated