Table of Contents

Class DiscordApplicationCommandLocalization

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a application command localization.

public sealed class DiscordApplicationCommandLocalization
Inheritance
DiscordApplicationCommandLocalization
Inherited Members

Constructors

DiscordApplicationCommandLocalization()

Initializes a new instance of DiscordApplicationCommandLocalization.

DiscordApplicationCommandLocalization(Dictionary<string, string>?)

Initializes a new instance of DiscordApplicationCommandLocalization.

Properties

Localizations

Gets the localization dict.

Methods

AddLocalization(string, string)

Adds a localization.

GetKeyValuePairs()

Gets the KVPs.

RemoveLocalization(string)

Removes a localization.

Validate(string)

Whether the locale to be added is valid for Discord.