did some modifications to play command to use player.play() method, added debug events (helpful to see how far the bot goes before error is thrown, or other informations), and equalizer command.
As a side note, usage of global.player is not needed as same thing can be done via useMasterPlayer hook exported by discord-player.
did some modifications to play command to use
player.play()
method, added debug events (helpful to see how far the bot goes before error is thrown, or other informations), and equalizer command.As a side note, usage of
global.player
is not needed as same thing can be done viauseMasterPlayer
hook exported by discord-player.useMasterPlayer()
https://discord-player.js.org/docs/guides/using-hooks#usemasterplayer-fetch-the-player-instance
Lyrics
https://discord-player.js.org/docs/guides/getting-lyrics