🐛 Fix setRepeatMode types

Co-Authored-By: hands8142 <46277532+hands8142@users.noreply.github.com>
This commit is contained in:
Androz2091 2020-12-27 10:35:28 +01:00
parent 5513e33436
commit 66e0930192

2
typings/index.d.ts vendored
View file

@ -35,7 +35,7 @@ declare module 'discord-player' {
public skip(message: Message): void;
public back(message: Message): void;
public nowPlaying(message: Message): Track;
public setRepeatMode(message: Message): boolean;
public setRepeatMode(message: Message, enabled: boolean): boolean;
public setLoopMode(message: Message, enabled: boolean): boolean
public shuffle(message: Message): Queue;
public remove(message: Message, trackOrPosition: Track|number): Track;