🐛 leaveOnEmptyCooldown is now optional

This commit is contained in:
Androz2091 2020-11-01 17:09:25 +01:00
parent 2ad4acc99a
commit 269c2b49f6

2
typings/index.d.ts vendored
View file

@ -47,7 +47,7 @@ declare module 'discord-player' {
leaveOnEnd: boolean;
leaveOnStop: boolean;
leaveOnEmpty: boolean;
leaveOnEmptyCooldown: number;
leaveOnEmptyCooldown?: number;
}
type Filters = 'bassboost' | '8D' | 'vaporwave' | 'nightcore'| 'phaser' | 'tremolo' | 'vibrato' | 'reverse' | 'treble' | 'normalizer' | 'surrounding' | 'pulsator' | 'subboost' | 'karaoke' | 'flanger' | 'gate' | 'haas' | 'mcompand';
type FiltersStatuses = {