remove unused events
This commit is contained in:
parent
f3f7c9b490
commit
0cdcda381b
1 changed files with 27 additions and 9 deletions
|
@ -119,23 +119,41 @@ export enum QueryType {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PlayerEvents {
|
export interface PlayerEvents {
|
||||||
|
/**
|
||||||
|
* Emitted when bot gets disconnected from a voice channel
|
||||||
|
*/
|
||||||
botDisconnect: (queue: Queue) => any;
|
botDisconnect: (queue: Queue) => any;
|
||||||
|
/**
|
||||||
|
* Emitted when the voice channel is empty
|
||||||
|
*/
|
||||||
channelEmpty: (queue: Queue) => any;
|
channelEmpty: (queue: Queue) => any;
|
||||||
|
/**
|
||||||
|
* Emitted when bot connects to a voice channel
|
||||||
|
*/
|
||||||
connectionCreate: (queue: Queue) => any;
|
connectionCreate: (queue: Queue) => any;
|
||||||
|
/**
|
||||||
|
* Debug information
|
||||||
|
*/
|
||||||
debug: (queue: Queue, message: string) => any;
|
debug: (queue: Queue, message: string) => any;
|
||||||
|
/**
|
||||||
|
* Emitted on error
|
||||||
|
*/
|
||||||
error: (queue: Queue, error: Error) => any;
|
error: (queue: Queue, error: Error) => any;
|
||||||
musicStop: (queue: Queue) => any;
|
/**
|
||||||
noResults: (queue: Queue) => any;
|
* Emitted when queue ends
|
||||||
playlistAdd: (queue: Queue) => any;
|
*/
|
||||||
playlistParseEnd: (queue: Queue) => any;
|
|
||||||
playlistParseStart: (queue: Queue) => any;
|
|
||||||
queueCreate: (queue: Queue) => any;
|
|
||||||
queueEnd: (queue: Queue) => any;
|
queueEnd: (queue: Queue) => any;
|
||||||
searchCancel: (queue: Queue) => any;
|
/**
|
||||||
searchInvalidResponse: (queue: Queue) => any;
|
* Emitted when a single track is added
|
||||||
searchResults: (queue: Queue) => any;
|
*/
|
||||||
trackAdd: (queue: Queue, track: Track) => any;
|
trackAdd: (queue: Queue, track: Track) => any;
|
||||||
|
/**
|
||||||
|
* Emitted when multiple tracks are added
|
||||||
|
*/
|
||||||
tracksAdd: (queue: Queue, track: Track[]) => any;
|
tracksAdd: (queue: Queue, track: Track[]) => any;
|
||||||
|
/**
|
||||||
|
* Emitted when a track starts playing
|
||||||
|
*/
|
||||||
trackStart: (queue: Queue, track: Track) => any;
|
trackStart: (queue: Queue, track: Track) => any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue