Table of Contents

Class SlashCommandParameterAttribute

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
[AttributeUsage(AttributeTargets.Parameter)]
public class SlashCommandParameterAttribute : Attribute
Inheritance
SlashCommandParameterAttribute
Inherited Members

Constructors

SlashCommandParameterAttribute()

public SlashCommandParameterAttribute()

Properties

AllowedChannelTypes

public ChannelType[]? AllowedChannelTypes { get; init; }

Property Value

ChannelType[]

AutocompleteProviderType

public Type? AutocompleteProviderType { get; init; }

Property Value

Type

ChoicesProviderType

public Type? ChoicesProviderType { get; init; }

Property Value

Type

Description

public string? Description { get; init; }

Property Value

string

MaxLength

public int MaxLength { get; init; }

Property Value

int

MaxValue

public double MaxValue { get; init; }

Property Value

double

MinLength

public int MinLength { get; init; }

Property Value

int

MinValue

public double MinValue { get; init; }

Property Value

double

Name

public string? Name { get; init; }

Property Value

string

TypeReaderType

public Type? TypeReaderType { get; init; }

Property Value

Type