Class: BaseInteraction
Hierarchy
Base
↳
BaseInteraction
Constructors
constructor
• new BaseInteraction(app
, raw
)
Parameters
Name | Type |
---|---|
app | App |
raw | APIInteraction |
Overrides
Base.constructor
Defined in
packages/disploy/src/structs/BaseInteraction.ts:49
Properties
app
• app: App
Inherited from
Base.app
Defined in
packages/disploy/src/structs/Base.ts:4
createdTimestamp
• createdTimestamp: number
Timestamp of when the interaction was created.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:27
guild
• guild: null
| ToBeFetched
<Guild
>
The guild of the interaction.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:47
id
• id: string
The ID of the interaction.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:22
member
• member: null
| GuildMember
The GuildMember who invoked the interaction.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:42
token
• token: string
The token of the interaction.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:32
user
• user: User
The User that invoked the interaction.
Defined in
packages/disploy/src/structs/BaseInteraction.ts:37
Methods
deferReply
▸ deferReply(ephemeral?
): undefined
Parameters
Name | Type | Default value |
---|---|---|
ephemeral | boolean | false |
Returns
undefined
Defined in
packages/disploy/src/structs/BaseInteraction.ts:61
editReply
▸ editReply(payload
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
payload | APIInteractionResponseCallbackData |
Returns
Promise
<unknown
>
Defined in
packages/disploy/src/structs/BaseInteraction.ts:77
reply
▸ reply(payload
): undefined
Parameters
Name | Type |
---|---|
payload | APIInteractionResponseCallbackData |
Returns
undefined
Defined in
packages/disploy/src/structs/BaseInteraction.ts:70