Class AuditCommand
Shows recent audit events with optional severity filter.
public sealed class AuditCommand : IChannelCommand
- Inheritance
-
AuditCommand
- Implements
- Inherited Members
Constructors
AuditCommand(IQueryableAuditSink)
Shows recent audit events with optional severity filter.
public AuditCommand(IQueryableAuditSink store)
Parameters
storeIQueryableAuditSink
Properties
Description
Short description shown in help text and slash command metadata.
public string Description { get; }
Property Value
Name
Command name without prefix (e.g., "help", "usage").
public string Name { get; }
Property Value
Parameters
Optional parameters this command accepts.
public IReadOnlyList<CommandParameter> Parameters { get; }
Property Value
Methods
ExecuteAsync(CommandContext, CancellationToken)
Execute the command and return a result.
public Task<CommandResult> ExecuteAsync(CommandContext context, CancellationToken ct = default)
Parameters
contextCommandContextctCancellationToken