Table of Contents

Class NameLocalizationAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

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

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

Constructors

NameLocalizationAttribute(Localization, string)

Properties

Locale
Name