fix(example): fix discord-player import
This commit is contained in:
parent
aecb61f174
commit
b7f64706b3
1 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
const { Client, GuildMember } = require("discord.js");
|
const { Client, GuildMember } = require("discord.js");
|
||||||
const config = require("./config");
|
const config = require("./config");
|
||||||
// const { Player, QueryType, QueueRepeatMode } = require("discord-player");
|
const { Player, QueryType, QueueRepeatMode } = require("discord-player");
|
||||||
const { Player, QueryType, QueueRepeatMode } = require("../../");
|
|
||||||
|
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
intents: ["GUILD_VOICE_STATES", "GUILD_MESSAGES", "GUILDS"]
|
intents: ["GUILD_VOICE_STATES", "GUILD_MESSAGES", "GUILDS"]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue