diff --git a/bun.lockb b/bun.lockb index 528a312..dd3c4bd 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 7d4dd16..612558c 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,8 @@ "@discord-player/extractor": "^4.4.7", "chalk": "^4.1.2", "discord-player": "^6.6.8", + "discord-player-deezer": "^1.0.1", + "discord-player-tidal": "^0.1.0", "discord.js": "^14.14.1", "dotenv": "^16.4.5", "ejs": "^3.1.10", diff --git a/src/index.js b/src/index.js index 50d774a..7307985 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,8 @@ require("./modules/checkValid"); const { Client, Collection, GatewayIntentBits } = require("discord.js"); const { Player } = require("discord-player"); - +const { default: DeezerExtractor } = require("discord-player-deezer"); +const { default: TidalExtractor } = require("discord-player-tidal"); const bot = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildVoiceStates], }); @@ -17,6 +18,8 @@ bot.utils = require("./modules/utils"); bot.say = require("./modules/reply"); const player = Player.singleton(bot); +player.extractors.register(DeezerExtractor); +player.extractors.register(TidalExtractor); player.extractors.loadDefault(); require("./handlers/Event")(bot);