fix: add permissions field to InteractionPayload#member

This commit is contained in:
ayntee 2020-12-25 16:22:10 +04:00
parent 3695b81de6
commit 30724dc791

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