fix(example): fix discord-player import

This commit is contained in:
DevAndromeda 2021-08-08 12:14:36 +05:45
parent aecb61f174
commit b7f64706b3
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6

View file

@ -1,9 +1,7 @@
require("dotenv").config();
const { Client, GuildMember } = require("discord.js");
const config = require("./config");
// const { Player, QueryType, QueueRepeatMode } = require("discord-player");
const { Player, QueryType, QueueRepeatMode } = require("../../");
const { Player, QueryType, QueueRepeatMode } = require("discord-player");
const client = new Client({
intents: ["GUILD_VOICE_STATES", "GUILD_MESSAGES", "GUILDS"]
});