Preparing search index...
The search index is not available
Stegripe Monorepo Packages
Stegripe Monorepo Packages
@stegripe/command-context
UserContextMenuCommandInteractionContext
Class UserContextMenuCommandInteractionContext
Hierarchy (
view full
)
CommandInteractionContext
UserContextMenuCommandInteractionContext
Index
Constructors
constructor
Properties
context
Accessors
app
Permissions
application
Id
author
channel
channel
Id
client
command
command
Guild
Id
command
Id
command
Name
command
Type
created
At
created
Timestamp
deferred
entitlements
ephemeral
guild
guild
Id
guild
Locale
id
locale
member
member
Permissions
options
replied
target
Id
target
Member
target
User
token
type
user
version
webhook
Methods
await
Modal
Submit
defer
Reply
delete
Reply
edit
Reply
fetch
Reply
follow
Up
in
Cached
Guild
in
Guild
in
Raw
Guild
is
Any
Select
Menu
is
Autocomplete
is
Button
is
Channel
Select
Menu
is
Chat
Input
Command
is
Chat
Input
Interaction
Context
is
Command
is
Command
Interaction
is
Context
Menu
Command
is
Mentionable
Select
Menu
is
Message
Component
is
Message
Context
is
Message
Context
Menu
Command
is
Message
Context
Menu
Interaction
Context
is
Modal
Submit
is
Repliable
is
Role
Select
Menu
is
Select
Menu
is
String
Select
Menu
is
User
Context
Menu
Command
is
User
Context
Menu
Interaction
Context
is
User
Select
Menu
reply
send
send
Premium
Required
show
Modal
toJSON
to
String
value
Of
Constructors
constructor
new
User
Context
Menu
Command
Interaction
Context
(
context
)
:
UserContextMenuCommandInteractionContext
Parameters
context
:
UserContextMenuCommandInteraction
<
CacheType
>
Returns
UserContextMenuCommandInteractionContext
Properties
Readonly
context
context
:
UserContextMenuCommandInteraction
<
CacheType
>
Accessors
app
Permissions
get
appPermissions
(
)
:
null
|
Readonly
<
PermissionsBitField
>
Returns
null
|
Readonly
<
PermissionsBitField
>
application
Id
get
applicationId
(
)
:
null
|
string
Returns
null
|
string
author
get
author
(
)
:
User
Returns
User
channel
get
channel
(
)
:
null
|
TextBasedChannel
Returns
null
|
TextBasedChannel
channel
Id
get
channelId
(
)
:
string
Returns
string
client
get
client
(
)
:
Client
<
true
>
Returns
Client
<
true
>
command
get
command
(
)
:
null
|
ApplicationCommand
<
{}
>
|
ApplicationCommand
<
{
guild
:
GuildResolvable
;
}
>
Returns
null
|
ApplicationCommand
<
{}
>
|
ApplicationCommand
<
{
guild
:
GuildResolvable
;
}
>
command
Guild
Id
get
commandGuildId
(
)
:
null
|
string
Returns
null
|
string
command
Id
get
commandId
(
)
:
string
Returns
string
command
Name
get
commandName
(
)
:
string
Returns
string
command
Type
get
commandType
(
)
:
User
Returns
User
created
At
get
createdAt
(
)
:
Date
Returns
Date
created
Timestamp
get
createdTimestamp
(
)
:
number
Returns
number
deferred
get
deferred
(
)
:
boolean
Returns
boolean
entitlements
get
entitlements
(
)
:
Collection
<
string
,
Entitlement
>
Returns
Collection
<
string
,
Entitlement
>
ephemeral
get
ephemeral
(
)
:
null
|
boolean
Returns
null
|
boolean
guild
get
guild
(
)
:
null
|
Guild
Returns
null
|
Guild
guild
Id
get
guildId
(
)
:
null
|
string
Returns
null
|
string
guild
Locale
get
guildLocale
(
)
:
null
|
Locale
Returns
null
|
Locale
id
get
id
(
)
:
string
Returns
string
locale
get
locale
(
)
:
Locale
Returns
Locale
member
get
member
(
)
:
null
|
GuildMember
|
APIInteractionGuildMember
Returns
null
|
GuildMember
|
APIInteractionGuildMember
member
Permissions
get
memberPermissions
(
)
:
null
|
Readonly
<
PermissionsBitField
>
Returns
null
|
Readonly
<
PermissionsBitField
>
options
get
options
(
)
:
Omit
<
CommandInteractionOptionResolver
<
CacheType
>
,
|
"getMessage"
|
"getFocused"
|
"getSubcommand"
|
"getSubcommandGroup"
|
"getBoolean"
|
"getChannel"
|
"getString"
|
"getInteger"
|
"getNumber"
|
"getRole"
|
"getAttachment"
|
"getMentionable"
>
Returns
Omit
<
CommandInteractionOptionResolver
<
CacheType
>
,
|
"getMessage"
|
"getFocused"
|
"getSubcommand"
|
"getSubcommandGroup"
|
"getBoolean"
|
"getChannel"
|
"getString"
|
"getInteger"
|
"getNumber"
|
"getRole"
|
"getAttachment"
|
"getMentionable"
>
replied
get
replied
(
)
:
boolean
Returns
boolean
target
Id
get
targetId
(
)
:
string
Returns
string
target
Member
get
targetMember
(
)
:
null
|
GuildMember
|
APIInteractionGuildMember
Returns
null
|
GuildMember
|
APIInteractionGuildMember
target
User
get
targetUser
(
)
:
User
Returns
User
token
get
token
(
)
:
string
Returns
string
type
get
type
(
)
:
ApplicationCommand
|
MessageType
Returns
ApplicationCommand
|
MessageType
user
get
user
(
)
:
User
Returns
User
version
get
version
(
)
:
number
Returns
number
webhook
get
webhook
(
)
:
InteractionWebhook
Returns
InteractionWebhook
Methods
await
Modal
Submit
await
Modal
Submit
(
options
)
:
Promise
<
ModalSubmitInteraction
<
CacheType
>
>
Parameters
options
:
AwaitModalSubmitOptions
<
ModalSubmitInteraction
<
CacheType
>
>
Returns
Promise
<
ModalSubmitInteraction
<
CacheType
>
>
defer
Reply
defer
Reply
(
options
)
:
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
Parameters
options
:
InteractionDeferReplyOptions
Returns
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
defer
Reply
(
options
?
)
:
Promise
<
InteractionResponse
<
BooleanCache
<
CacheType
>
>
>
Parameters
Optional
options
:
InteractionDeferReplyOptions
Returns
Promise
<
InteractionResponse
<
BooleanCache
<
CacheType
>
>
>
delete
Reply
delete
Reply
(
message
?
)
:
Promise
<
void
>
Parameters
Optional
message
:
MessageResolvable
Returns
Promise
<
void
>
edit
Reply
edit
Reply
(
options
)
:
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
Parameters
options
:
string
|
MessagePayload
|
InteractionEditReplyOptions
Returns
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
fetch
Reply
fetch
Reply
(
message
?
)
:
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
Parameters
Optional
message
:
string
Returns
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
follow
Up
follow
Up
(
options
)
:
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
Parameters
options
:
string
|
MessagePayload
|
InteractionReplyOptions
Returns
Promise
<
Message
<
BooleanCache
<
CacheType
>
>
>
in
Cached
Guild
in
Cached
Guild
(
)
:
this
is
CommandInteraction
<
"cached"
>
Returns
this
is
CommandInteraction
<
"cached"
>
in
Guild
in
Guild
(
)
:
boolean
Returns
boolean
in
Raw
Guild
in
Raw
Guild
(
)
:
this
is
CommandInteraction
<
"raw"
>
Returns
this
is
CommandInteraction
<
"raw"
>
is
Any
Select
Menu
is
Any
Select
Menu
(
)
:
this
is
AnySelectMenuInteraction
Returns
this
is
AnySelectMenuInteraction
is
Autocomplete
is
Autocomplete
(
)
:
this
is
AutocompleteInteraction
<
CacheType
>
Returns
this
is
AutocompleteInteraction
<
CacheType
>
is
Button
is
Button
(
)
:
this
is
ButtonInteraction
<
CacheType
>
Returns
this
is
ButtonInteraction
<
CacheType
>
is
Channel
Select
Menu
is
Channel
Select
Menu
(
)
:
this
is
ChannelSelectMenuInteraction
<
CacheType
>
Returns
this
is
ChannelSelectMenuInteraction
<
CacheType
>
is
Chat
Input
Command
is
Chat
Input
Command
(
)
:
this
is
ChatInputCommandInteraction
<
CacheType
>
Returns
this
is
ChatInputCommandInteraction
<
CacheType
>
is
Chat
Input
Interaction
Context
is
Chat
Input
Interaction
Context
(
)
:
this
is
ChatInputCommandInteractionContext
Returns
this
is
ChatInputCommandInteractionContext
is
Command
is
Command
(
)
:
this
is
CommandInteraction
<
CacheType
>
Returns
this
is
CommandInteraction
<
CacheType
>
is
Command
Interaction
is
Command
Interaction
(
)
:
this
is
CommandInteractionContext
Returns
this
is
CommandInteractionContext
is
Context
Menu
Command
is
Context
Menu
Command
(
)
:
this
is
ContextMenuCommandInteraction
<
CacheType
>
Returns
this
is
ContextMenuCommandInteraction
<
CacheType
>
is
Mentionable
Select
Menu
is
Mentionable
Select
Menu
(
)
:
this
is
MentionableSelectMenuInteraction
<
CacheType
>
Returns
this
is
MentionableSelectMenuInteraction
<
CacheType
>
is
Message
Component
is
Message
Component
(
)
:
this
is
MessageComponentInteraction
<
CacheType
>
Returns
this
is
MessageComponentInteraction
<
CacheType
>
is
Message
Context
is
Message
Context
(
)
:
this
is
MessageContext
Returns
this
is
MessageContext
is
Message
Context
Menu
Command
is
Message
Context
Menu
Command
(
)
:
this
is
MessageContextMenuCommandInteraction
<
CacheType
>
Returns
this
is
MessageContextMenuCommandInteraction
<
CacheType
>
is
Message
Context
Menu
Interaction
Context
is
Message
Context
Menu
Interaction
Context
(
)
:
this
is
MessageContextMenuCommandInteractionContext
Returns
this
is
MessageContextMenuCommandInteractionContext
is
Modal
Submit
is
Modal
Submit
(
)
:
this
is
ModalSubmitInteraction
<
CacheType
>
Returns
this
is
ModalSubmitInteraction
<
CacheType
>
is
Repliable
is
Repliable
(
)
:
this
is
RepliableInteraction
Returns
this
is
RepliableInteraction
is
Role
Select
Menu
is
Role
Select
Menu
(
)
:
this
is
RoleSelectMenuInteraction
<
CacheType
>
Returns
this
is
RoleSelectMenuInteraction
<
CacheType
>
is
Select
Menu
is
Select
Menu
(
)
:
this
is
StringSelectMenuInteraction
<
CacheType
>
Returns
this
is
StringSelectMenuInteraction
<
CacheType
>
is
String
Select
Menu
is
String
Select
Menu
(
)
:
this
is
StringSelectMenuInteraction
<
CacheType
>
Returns
this
is
StringSelectMenuInteraction
<
CacheType
>
is
User
Context
Menu
Command
is
User
Context
Menu
Command
(
)
:
this
is
UserContextMenuCommandInteraction
<
CacheType
>
Returns
this
is
UserContextMenuCommandInteraction
<
CacheType
>
is
User
Context
Menu
Interaction
Context
is
User
Context
Menu
Interaction
Context
(
)
:
this
is
UserContextMenuCommandInteractionContext
Returns
this
is
UserContextMenuCommandInteractionContext
is
User
Select
Menu
is
User
Select
Menu
(
)
:
this
is
UserSelectMenuInteraction
<
CacheType
>
Returns
this
is
UserSelectMenuInteraction
<
CacheType
>
reply
reply
(
options
)
:
Promise
<
Message
<
boolean
>
>
Parameters
options
:
string
|
MessagePayloadOption
Returns
Promise
<
Message
<
boolean
>
>
send
send
(
options
)
:
Promise
<
Message
<
boolean
>
>
Parameters
options
:
string
|
MessagePayloadOption
Returns
Promise
<
Message
<
boolean
>
>
send
Premium
Required
send
Premium
Required
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
show
Modal
show
Modal
(
modal
)
:
Promise
<
void
>
Parameters
modal
:
APIModalInteractionResponseCallbackData
|
ModalComponentData
|
JSONEncodable
<
APIModalInteractionResponseCallbackData
>
Returns
Promise
<
void
>
toJSON
toJSON
(
...
props
)
:
unknown
Parameters
Rest
...
props
:
Record
<
string
,
string
|
boolean
>
[]
Returns
unknown
to
String
to
String
(
)
:
string
Returns
string
value
Of
value
Of
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
context
Accessors
app
Permissions
application
Id
author
channel
channel
Id
client
command
command
Guild
Id
command
Id
command
Name
command
Type
created
At
created
Timestamp
deferred
entitlements
ephemeral
guild
guild
Id
guild
Locale
id
locale
member
member
Permissions
options
replied
target
Id
target
Member
target
User
token
type
user
version
webhook
Methods
await
Modal
Submit
defer
Reply
delete
Reply
edit
Reply
fetch
Reply
follow
Up
in
Cached
Guild
in
Guild
in
Raw
Guild
is
Any
Select
Menu
is
Autocomplete
is
Button
is
Channel
Select
Menu
is
Chat
Input
Command
is
Chat
Input
Interaction
Context
is
Command
is
Command
Interaction
is
Context
Menu
Command
is
Mentionable
Select
Menu
is
Message
Component
is
Message
Context
is
Message
Context
Menu
Command
is
Message
Context
Menu
Interaction
Context
is
Modal
Submit
is
Repliable
is
Role
Select
Menu
is
Select
Menu
is
String
Select
Menu
is
User
Context
Menu
Command
is
User
Context
Menu
Interaction
Context
is
User
Select
Menu
reply
send
send
Premium
Required
show
Modal
toJSON
to
String
value
Of
Stegripe Monorepo Packages
Loading...