Merge pull request #674 from MaxTechnics/master

docs: add trackEnd event
This commit is contained in:
Andromeda 2021-08-09 18:37:48 +05:45 committed by GitHub
commit 83d692801a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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