Package-level declarations
Types
Link copied to clipboard
Allows you to configure the localization settings of this text command event, as well as retrieve a localization context from it.
Link copied to clipboard
Provides the locale to be used for localizing text command responses, may be useful if the user has set its own locale, for example.
Functions
Link copied to clipboard
fun LocalizableTextCommand.getGuildMessage(localizationPath: String, vararg entries: PairEntry): String
Link copied to clipboard
fun LocalizableTextCommand.replyGuild(localizationPath: String, vararg entries: PairEntry): MessageCreateAction
Link copied to clipboard
fun LocalizableTextCommand.replyLocalized(locale: Locale, localizationPath: String, vararg entries: PairEntry): MessageCreateAction
fun LocalizableTextCommand.replyLocalized(locale: DiscordLocale, localizationPath: String, vararg entries: PairEntry): MessageCreateAction
Link copied to clipboard
fun LocalizableTextCommand.respondGuild(localizationPath: String, vararg entries: PairEntry): MessageCreateAction
Link copied to clipboard
fun LocalizableTextCommand.respondLocalized(locale: Locale, localizationPath: String, vararg entries: PairEntry): MessageCreateAction
fun LocalizableTextCommand.respondLocalized(locale: DiscordLocale, localizationPath: String, vararg entries: PairEntry): MessageCreateAction