Merge pull request #71 from ayntee/interac-member
fix: add permissions field to InteractionPayload#member
This commit is contained in:
commit
0de9b57204
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