Merge pull request #674 from MaxTechnics/master
docs: add trackEnd event
This commit is contained in:
commit
83d692801a
1 changed files with 7 additions and 0 deletions
|
@ -307,6 +307,13 @@ export enum QueryType {
|
||||||
* @param {Track} track The track
|
* @param {Track} track The track
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emitted when a track ends
|
||||||
|
* @event Player#trackEnd
|
||||||
|
* @param {Queue} queue The queue
|
||||||
|
* @param {Track} track The track
|
||||||
|
*/
|
||||||
|
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
export interface PlayerEvents {
|
export interface PlayerEvents {
|
||||||
botDisconnect: (queue: Queue) => any;
|
botDisconnect: (queue: Queue) => any;
|
||||||
|
|
Loading…
Reference in a new issue