Table of Contents

Class HelpCommand

Namespace
Uncreated.Warfare.Commands
Assembly
Uncreated.Warfare.dll
[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

translations TranslationInjection<HelpCommandTranslations>
commandDispatcher CommandDispatcher

Properties

Context

The context used to execute the command.

public required CommandContext Context { get; init; }

Property Value

CommandContext

Methods

ExecuteAsync(CancellationToken)

Actually execute the command.

public UniTask ExecuteAsync(CancellationToken token)

Parameters

token CancellationToken

Returns

UniTask

Exceptions

CommandContext