Constructors
Properties
Accessors
applicationId
- get applicationId(): null | string
Returns null | string
channelId
- get channelId(): string
Returns string
createdTimestamp
- get createdTimestamp(): number
Returns number
guildId
- get guildId(): null | string
Returns null | string
id
- get id(): string
Returns string
member
- get member(): null | GuildMember | APIInteractionGuildMember
Returns null | GuildMember | APIInteractionGuildMember
type
- get type(): ApplicationCommand | MessageType
Returns ApplicationCommand | MessageType
Methods
inGuild
- inGuild(): boolean
Returns boolean
isChatInputInteractionContext
isMessageContextMenuInteractionContext
isUserContextMenuInteractionContext
toJSON
- toJSON(...props): unknown
Parameters
Rest
...props: Record<string, string | boolean>[]
Returns unknown
toString
- toString(): string
Returns string
valueOf
- valueOf(): string
Returns string