Table of Contents

Class DescriptionLocalizationAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

Specifies a locale for a slash command description. The longest description is the one that counts toward character limits.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Parameter, AllowMultiple = true)]
public sealed class DescriptionLocalizationAttribute : Attribute
Inheritance
object
Attribute
DescriptionLocalizationAttribute

Constructors

DescriptionLocalizationAttribute(Localization, string)

Properties

Description
Locale