fix: add permissions field to InteractionPayload#member
This commit is contained in:
parent
3695b81de6
commit
30724dc791
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,10 @@ export interface InteractionPayload {
|
||||||
/** Token of the Interaction to respond */
|
/** Token of the Interaction to respond */
|
||||||
token: string
|
token: string
|
||||||
/** Member object of user who invoked */
|
/** 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 of the Interaction */
|
||||||
id: string
|
id: string
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue