ICommandHandler interface
public interface ICommandHandler
In Obsidian.API.
Properties
IServiceProvider ServiceProvider { get; }Methods
CompleteAsync(CommandContext)
Task<CommandCompletion> CompleteAsync(CommandContext ctx);Suggests completions for the last word of the context's message, a command line typed up to the cursor with or without the command prefix.
(int, string) FindMinecraftType(Type type);Command[] GetAllCommands();BaseArgumentParser GetArgumentParser(Type type);bool IsValidArgumentType(Type type);Task ProcessCommand(CommandContext ctx);void RegisterCommands(IPluginContainer pluginContainer = null);