From 3c39020e2ac6eb730371a31fc61bdc5ad09e4a93 Mon Sep 17 00:00:00 2001 From: Maxim Coppieters <58440941+MaxTechnics@users.noreply.github.com> Date: Mon, 9 Aug 2021 14:47:06 +0200 Subject: [PATCH] Add JSDoc for trackEnd event --- src/types/types.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/types/types.ts b/src/types/types.ts index e04f76c..4b7f807 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -307,6 +307,13 @@ export enum QueryType { * @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 */ export interface PlayerEvents { botDisconnect: (queue: Queue) => any;