Interface ISlashCommandRouter
Handles slash command routing.
public interface ISlashCommandRouter
Methods
ExecuteAsync(string, CancellationToken)
Execute a slash command and return the output text.
Task<string?> ExecuteAsync(string input, CancellationToken ct = default)
Parameters
inputstringctCancellationToken
Returns
IsSlashCommand(string)
Returns true if the input starts with /.
bool IsSlashCommand(string input)
Parameters
inputstring