Add JSDoc for trackEnd event

This commit is contained in:
Maxim Coppieters 2021-08-09 14:47:06 +02:00
parent 32193fa739
commit 3c39020e2a

View file

@ -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;