From 66e093019283337a1b1046e98b4791804521d2d0 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Sun, 27 Dec 2020 10:35:28 +0100 Subject: [PATCH] :bug: Fix setRepeatMode types Co-Authored-By: hands8142 <46277532+hands8142@users.noreply.github.com> --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index ae2e55c..21064e1 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;