Class DoctorCommand
/doctor command — runs all registered health checks and displays the
results in a human-readable summary. Surfaces provider reachability, session
store status, disk space, and memory usage.
public sealed class DoctorCommand : IChannelCommand
- Inheritance
-
DoctorCommand
- Implements
- Inherited Members
Constructors
DoctorCommand(HealthCheckService)
/doctor command — runs all registered health checks and displays the
results in a human-readable summary. Surfaces provider reachability, session
store status, disk space, and memory usage.
public DoctorCommand(HealthCheckService healthCheckService)
Parameters
healthCheckServiceHealthCheckService
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