detritus
On this page

Command Context

import { Command } from 'detritus-client';

Command.Context;
66 properties5 methodssrc/command/context.ts:26

Constructor

Properties

client
readonly
command?
Command<any>
optional
commandClient
readonly
message
readonly
metadata?
{ [key: string]: any }
optional
prefix?
string
optional
typing
Typing | null
readonly
typingTimeout?
Timeout
readonlyoptional

Accessors

application
get
applicationCommandPermissions
applicationEmojis
applicationId
string
get
applications
canDelete
boolean
get
canEdit
boolean
get
canManage
boolean
get
canReact
boolean
get
canReply
boolean
get
channel
get
channelId
string
get
channels
get
cluster
get
content
string
get
emojis
get
fromBot
boolean
get
fromSystem
boolean
get
fromUser
boolean
get
fromWebhook
boolean
get
gateway
Socket
get
guild
Guild | null
get
guildId
string | undefined
get
guilds
get
guildScheduledEvents
inDm
boolean
get
interactionCommandClient
interactions
isBotPresent
boolean
get
manager
ClusterProcessChild | null
get
maxAttachmentSize
number
get
me
Member | null
get
member
Member | undefined
get
members
get
messageId
string
get
messages
get
owners
get
presences
get
relationships
response
Message | null
get
rest
RestClient
get
roles
get
sessions
get
shardCount
number
get
shardId
number
get
stageInstances
stickers
get
systemContent
string
get
typings
user
get
userId
string
get
users
get
voiceCalls
voiceChannel
get
voiceConnection
VoiceConnection | undefined
get
voiceConnections
voiceState
VoiceState | null
get
voiceStates

Methods