Internal, used for asyncEffect
Arguments from the command executed, undefined for slash commands unless no parameter definition was provided
The user who triggered the action
The channel this command will be sent in
Creates an embed object using the embed.create method of the embed object passed into the Bot
[Only used for onError actions] Contains the full error obtained from the catch
The server
Message that triggered this action
Parameters from the slash command Will contain a property "arguments" for legacy commands and slash commands without parameter definition
Keyword used to trigger the command
Creates a minijob that will be run once a response is created
This does nothing if an action has no response
Sends a DM to the author of the message, resolves to undefined if an error occurs
Used for multiple step commands, the first argument is a SendableMessage that will be sent to the channel the second optional argument defines if the message should be deleted after receiving a reply/failing resolves to undefined if an error occurs
Generated using TypeDoc
Object passed to the action functions on every trigger