CommandContext
Last updated
Was this helpful?
Last updated
Was this helpful?
The CommandContext is a class used in the run
method of the commands to include all the properties you need, it also includes a lot of getters and useful methods to shorten your code.
From within the ctx
argument in the callback is an instance of the SubCommandContext
class which includes some other fields related to the SubCommand itself.