Class HelpCommand
[Command("help", new string[] { "commands", "cmd", "wtf", "hlep", "hepl", "tutorial", "h", "?" })]
public sealed class HelpCommand : IExecutableCommand, ICommand
- Inheritance
-
HelpCommand
- Implements
- Inherited Members
Constructors
HelpCommand(TranslationInjection<HelpCommandTranslations>, CommandDispatcher)
public HelpCommand(TranslationInjection<HelpCommandTranslations> translations, CommandDispatcher commandDispatcher)
Parameters
translationsTranslationInjection<HelpCommandTranslations>commandDispatcherCommandDispatcher
Properties
Context
The context used to execute the command.
public required CommandContext Context { get; init; }
Property Value
Methods
ExecuteAsync(CancellationToken)
Actually execute the command.
public UniTask ExecuteAsync(CancellationToken token)
Parameters
tokenCancellationToken
Returns
- UniTask