From b657cd23900309399a21f266528678a9ec4cd7c5 Mon Sep 17 00:00:00 2001 From: MarkusRost <37275477+Markus-Rost@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:27:59 +0100 Subject: [PATCH] permissions should be a string Change type for permissions in generateAuthUrl to string --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 7d9ea93..3ae4d03 100644 --- a/index.d.ts +++ b/index.d.ts @@ -195,7 +195,7 @@ declare class OAuth extends EventEmitter { prompt?: "consent" | "none"; redirectUri?: string; responseType?: "code" | "token"; - permissions?: number; + permissions?: string; guildId?: string; disableGuildSelect?: boolean; }): string;