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
AutocompleteProviderType
public Type? AutocompleteProviderType { get; init; }
Property Value
ChoicesProviderType
public Type? ChoicesProviderType { get; init; }
Property Value
Description
public string? Description { get; init; }
Property Value
MaxLength
public int MaxLength { get; init; }
Property Value
MaxValue
public double MaxValue { get; init; }
Property Value
MinLength
public int MinLength { get; init; }
Property Value
MinValue
public double MinValue { get; init; }
Property Value
Name
public string? Name { get; init; }
Property Value
TypeReaderType
public Type? TypeReaderType { get; init; }