CommandContext
Light wrapper class representing the context for a command's action.
This is what this refers to in a command action body. You shouldn't have to instantiate this yourself.
Parameters
Respective command for this context object.
Event that triggered this command.
Command name given by the user to invoke the command - lower-cased.
Data cache map shared with the defined checks.
Inheritors
Properties
Cached locale variable, stored and retrieved by getLocale.
Current Sentry context, containing breadcrumbs and other goodies.
Functions
Extract channel information from event data.
Resolve the locale for this context, storing it in resolvedLocale.
Wait for a message by the user that invoked this command, in the channel it was invoked in, using the given timeout (in milliseconds) and extra filter function.