Merge pull request #71 from ayntee/interac-member

fix: add permissions field to InteractionPayload#member
This commit is contained in:
DjDeveloper 2021-01-10 15:17:46 +05:30 committed by GitHub
commit 0de9b57204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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
/**