From 30724dc7918d71e5aa2ecb0fa275f5e196189572 Mon Sep 17 00:00:00 2001 From: ayntee Date: Fri, 25 Dec 2020 16:22:10 +0400 Subject: [PATCH] fix: add permissions field to InteractionPayload#member --- src/types/slash.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types/slash.ts b/src/types/slash.ts index d48f363..a88622a 100644 --- a/src/types/slash.ts +++ b/src/types/slash.ts @@ -32,7 +32,10 @@ export interface InteractionPayload { /** Token of the Interaction to respond */ token: string /** Member object of user who invoked */ - member: MemberPayload + member: MemberPayload & { + /** Total permissions of the member in the channel, including overrides */ + permissions: string + } /** ID of the Interaction */ id: string /**