Options
All
  • Public
  • Public/Protected
  • All
Menu

Command Context

Hierarchy

  • Context

Index

Constructors

constructor

Properties

Readonly client

client: ShardClient

Optional command

command: Command<any>

Readonly commandClient

commandClient: CommandClient

Readonly message

message: Message

Optional metadata

metadata: {}

Type declaration

  • [key: string]: any

Optional prefix

prefix: string

Readonly typing

typing: null | Typing

Optional Readonly typingTimeout

typingTimeout: Timeout

Accessors

application

applicationId

  • get applicationId(): string

applications

canDelete

  • get canDelete(): boolean

canManage

  • get canManage(): boolean

canReact

  • get canReact(): boolean

canReply

  • get canReply(): boolean

channel

channelId

  • get channelId(): string

channels

cluster

content

  • get content(): string

emojis

fromBot

  • get fromBot(): boolean

fromSystem

  • get fromSystem(): boolean

fromUser

  • get fromUser(): boolean

fromWebhook

  • get fromWebhook(): boolean

gateway

  • get gateway(): Socket

guild

  • get guild(): null | Guild

guildId

  • get guildId(): undefined | string

guilds

inDm

  • get inDm(): boolean

interactionCommandClient

interactions

manager

me

member

  • get member(): undefined | Member

members

messageId

  • get messageId(): string

messages

notes

owners

presences

relationships

response

rest

roles

sessions

shardCount

  • get shardCount(): number

shardId

  • get shardId(): number

stageInstances

stickers

systemContent

  • get systemContent(): string

typings

user

userId

  • get userId(): string

users

voiceCalls

voiceChannel

voiceConnection

voiceConnections

voiceState

voiceStates

Methods

editOrReply

reply

  • reply(options?: string | CreateMessage): Promise<Message>

toJSON

  • toJSON(): object

toString

  • toString(): string

triggerTyping

  • triggerTyping(): Promise<any>

Generated using TypeDoc