2.0.5 (2024-01-20)
- remove vulnerable dependencies (f4c8fd3)
2.0.4 (2023-12-10)
2.0.3 (2023-11-29)
2.0.2 (2023-10-03)
2.0.1 (2023-07-29)
2.0.0 (2023-06-13)
Make sure to read the version 2 migration guide.
- engines: Changed type
PlayerEngine
and all pre-built engines (youtube, spotify and file) to returnSearchResult|null
instead ofSearchResult[]
. The previous return value just wrapped the search result into an array so its length was always 1. Thats why it has been changed. - engines:
player.search()
now returnsSearchResult|null
instead ofSearchResult[]
- bump min required version of
@discordjs/opus
from0.5.1
to0.8.0
- bump min required version of
discord.js
from14.5.0
to14.8.0
2.0.0-rc.2 (2023-06-13)
2.0.0-rc.1 (2023-05-14)
- engines: Changed type
PlayerEngine
and all pre-built engines (youtube, spotify and file) to returnSearchResult|null
instead ofSearchResult[]
. The previous return value just wrapped the search result into an array so its length was always 1. Thats why it has been changed. - engines:
player.search()
now returnsSearchResult|null
instead ofSearchResult[]
- bump min required version of
@discordjs/opus
from0.5.1
to0.8.0
- bump min required version of
discord.js
from14.5.0
to14.8.0
- add peerDependency
discord-api-types
with min version0.37.0
1.5.2 (2023-05-13)
- remove vulnerable dependency (2fb0787)
1.5.1 (2023-03-14)
- peerDependencies: specify range of peerDependencies (656485b)
1.5.0 (2023-03-12)
- commands: add
/insert
command (7d6bab4) - commands: add
/jump
slash command (805c414) - commands: add
/remove
slash command (10b3216) - player: add method
jump
(9f0812c)
1.4.4 (2023-03-11)
- player: bot stops playing after approximately 60 seconds (2bc1bb9)
- player: bot stops playing after approximately 60 seconds (#11) (78fb74a), closes #9 #10
- remove vulnerable dependencies (c30fa11)
- youtube: playlist not searched when it contains hidden videos (1898238)
1.4.3 (2022-12-27)
- spotify: searching playlist throws error
cannot read XYZ of undefined
(8e7d799)
1.4.2 (2022-10-23)
- spotify: duration NaN for some tracks (4103459)
1.4.1 (2022-08-22)
- remove vulnerable dependencies (5145993)
1.4.0 (2022-08-06)
- player: event
trackEnd
not emitted when playing track while already playing (cdc809a) - player: event
trackStart
emitted when paused track is resumed (67a6539) - player: track seek time not resetting when repeating (0ed25f4)
- file-engine: extract audio file metadata for track information (5de66ae)
- player: add option
stopOnEnd
to enable bot to stay connected when audio playback ends, default:true
(78fe5ed) - player: add track to
trackEnd
event (06e8282)
1.3.0 (2022-08-05)
- spotify:
limit
not working when searching spotify playlist (6bbb151) - spotify: playlist tracks not including
playlist
property (7d6b15a)
- player: make
options
property public (b39853b)
1.2.0 (2022-08-01)
- youtube:
limit
not working when searching playlist (ead4449)
- player: add method
getVoiceChannel
(26b5d54)
1.1.2 (2022-07-29)
- youtube: unable to search playlist that starts with
https://www.youtube.com/playlist
(2378c4d), closes #5
1.1.1 (2022-07-25)
- remove vulnerable dependency (54ac14a)
1.1.0 (2022-07-21)
- spotify: track seek not working (9ad030e)
- update to
discord.js
v14 (b5ca665)
1.0.3 (2022-07-21)
- add missing dependency (1586df2)
1.0.2 (2022-07-21)
- remove vulnerable depedencies (d77013c)
1.0.1 (2022-06-19)
remove
not returning removed track (9e7ab69)trackToMarkdown
printingundefined
when artist is not set (e2e1b5a)- add missing export
handleSlashCommand
(cd88723) - command: queue command not using ephemeral (cddd737)
- example: use more user friendly ephemeral (cf51239)
- player:
add
playing track twice,setPause
not returningtrue
when already paused/resumed (84a6a37) - remove track url preview for
add
andskip
command message (a349c3f) - remove vulnerable dependencies (40c23c7)
- spotify: playing wrong stream when artist is undefined (bbb3da4)
- volume glitch when async function is used for initial volume (9f802bf)
- player-manager: Add methods
find
andremove
(0458b8f) - remove
SearchType
in favor ofTrackSource
(32cb323) - rename event
disconnect
todestroyed
(2975507)
- add
duration
andartist
to track (bc6cbcb) - add
fileRoot
player option (ba5d6a2) - add
insert
andremove
method (ed5e35b) - add
queueEnd
event (0873c42) - add
SearchType
search option (c486936) - add
seek
method (23a00e8) - add player (8390eec)
- add player option
customEngines
(ac411de) - add PlayerManager (a1d8ed9)
- add pre-build slash commands (ede5993)
- add spotify player engine (159477d)
- commands
run
method returning boolean (3031a21) - commands: add command
seek
(4fa37e9) - engines: add
isResponsible
method (dc58e90) - player-manager: add events (251b07c)
- player-manager: add option deep merge (b42ea27)
- player: add
error
event (fd23641) - player: add method
getVolume
(4e9ee7c) - player: add option
allowSwitchChannels
(9bceb75) - player: add play option
addSkippedTrackToQueue
(9c4597e) - player: add repeat mode
NONE
andTRACK
(f97dc90) - player: make
fileRoot
option required for local files (a0f1994) - player: option
initialVolume
can be function (2b3b9b2) - support spotify playlists (744fabd)
- change
handleSlashCommand
signature - player: remove player event
queueEnd
in favor ofdestroyed
- player: player event
trackEnd
now emmited before next track started - player: remove type
StreamOptions
- player: remove parameter
streamOptions
from enginesgetStream
method - player:
fileRoot
option is required to play local files - commands
run
method returning boolean - remove player option
customSearch
andcustomStream
in favor ofcustomEngines
- remove type
TrackSource
- require engine prop
source
- engines: remove exported function
detectTrackSource
- engines: require method
isResponsible
for engines - player-manager: remove method
exists
in favor offind
- remove
SearchType
in favor ofTrackSource
- rename event
disconnect
todestroyed
1.0.0-beta.11 (2022-06-19)
- change
handleSlashCommand
signature
1.0.0-beta.10 (2022-06-19)
- player: remove player event
queueEnd
in favor ofdestroyed
- player: player event
trackEnd
now emmited before next track started
1.0.0-beta.9 (2022-06-18)
- volume glitch when async function is used for initial volume (9f802bf)
1.0.0-beta.8 (2022-06-18)
- player: remove type
StreamOptions
- player: remove parameter
streamOptions
from enginesgetStream
method
1.0.0-beta.7 (2022-06-18)
- player: option
initialVolume
can be function (2b3b9b2)
1.0.0-beta.6 (2022-06-18)
- player: add option
allowSwitchChannels
(9bceb75) - player: make
fileRoot
option required for local files (a0f1994)
- player:
fileRoot
option is required to play local files
1.0.0-beta.5 (2022-06-17)
- commands
run
method returning boolean (3031a21) - player: add method
getVolume
(4e9ee7c) - player: add repeat mode
NONE
andTRACK
(f97dc90)
- commands
run
method returning boolean
1.0.0-beta.4 (2022-06-10)
- remove vulnerable dependencies (40c23c7)
1.0.0-beta.3 (2022-06-07)
trackToMarkdown
printingundefined
when artist is not set (e2e1b5a)- command: queue command not using ephemeral (cddd737)
- example: use more user friendly ephemeral (cf51239)
- remove track url preview for
add
andskip
command message (a349c3f) - spotify: playing wrong stream when artist is undefined (bbb3da4)
- remove player option
customSearch
andcustomStream
in favor ofcustomEngines
- remove type
TrackSource
- require engine prop
source
- engines: remove exported function
detectTrackSource
- engines: require method
isResponsible
for engines
1.0.0-beta.2 (2022-05-24)
- add missing export
handleSlashCommand
(cd88723)
remove
not returning removed track (9e7ab69)- player:
add
playing track twice,setPause
not returningtrue
when already paused/resumed (84a6a37)
- player-manager: Add methods
find
andremove
(0458b8f) - remove
SearchType
in favor ofTrackSource
(32cb323) - rename event
disconnect
todestroyed
(2975507)
- add
duration
andartist
to track (bc6cbcb) - add
fileRoot
player option (ba5d6a2) - add
insert
andremove
method (ed5e35b) - add
queueEnd
event (0873c42) - add
SearchType
search option (c486936) - add
seek
method (23a00e8) - add player (8390eec)
- add PlayerManager (a1d8ed9)
- add pre-build slash commands (ede5993)
- add spotify player engine (159477d)
- player-manager: add option deep merge (b42ea27)
- support spotify playlists (744fabd)
- player-manager: remove method
exists
in favor offind
- remove
SearchType
in favor ofTrackSource
- rename event
disconnect
todestroyed
1.0.0-alpha.4 (2022-05-24)
- player:
add
playing track twice,setPause
not returningtrue
when already paused/resumed (84a6a37)
- player-manager: Add methods
find
andremove
(0458b8f)
- player-manager: remove method
exists
in favor offind
1.0.0-alpha.3 (2022-05-23)
- add
fileRoot
player option (ba5d6a2)
1.0.0-alpha.2 (2022-05-23)
- remove
SearchType
in favor ofTrackSource
(32cb323)
- remove
SearchType
in favor ofTrackSource
remove
not returning removed track (9e7ab69)
- rename event
disconnect
todestroyed
(2975507)
- add
duration
andartist
to track (bc6cbcb) - add
insert
andremove
method (ed5e35b) - add
queueEnd
event (0873c42) - add
SearchType
search option (c486936) - add
seek
method (23a00e8) - add player (8390eec)
- add PlayerManager (a1d8ed9)
- rename event
disconnect
todestroyed