Table of Contents

Class CommandParameter

Namespace
JD.AI.Core.Commands
Assembly
JD.AI.Core.dll

A parameter definition for a channel command.

public record CommandParameter : IEquatable<CommandParameter>
Inheritance
CommandParameter
Implements
Inherited Members

Properties

Choices

Pre-defined choices (for autocomplete/dropdowns).

public IReadOnlyList<string> Choices { get; init; }

Property Value

IReadOnlyList<string>

Description

Parameter description for help text.

public required string Description { get; init; }

Property Value

string

IsRequired

Whether this parameter is required.

public bool IsRequired { get; init; }

Property Value

bool

Name

Parameter name (e.g., "model").

public required string Name { get; init; }

Property Value

string

Type

Parameter value type.

public CommandParameterType Type { get; init; }

Property Value

CommandParameterType