Class SlashCommandCatalog
Single source of truth for slash-command routing/help/completion metadata.
public static class SlashCommandCatalog
- Inheritance
-
SlashCommandCatalog
- Inherited Members
Properties
CompletionEntries
public static IReadOnlyList<SlashCommandDescriptor> CompletionEntries { get; }
Property Value
Definitions
public static IReadOnlyList<SlashCommandDefinition> Definitions { get; }
Property Value
HelpEntries
public static IReadOnlyList<SlashCommandHelpEntry> HelpEntries { get; }
Property Value
Methods
BuildHelpText()
public static string BuildHelpText()
Returns
RegisterCompletions(CompletionProvider)
public static void RegisterCompletions(CompletionProvider completionProvider)
Parameters
completionProviderCompletionProvider
TryResolveDispatch(string, out SlashCommandId)
public static bool TryResolveDispatch(string commandToken, out SlashCommandId id)
Parameters
commandTokenstringidSlashCommandId