Localizable Edit Callback
Allows editing an interaction's original message using localized strings, registered from bundles in BLocalizationConfig.responseBundles.
See LocalizableInteraction for further configuration.
See also
Inheritors
Functions
Link copied to clipboard
@CheckReturnValue
Edits the original message with the localized message at the following path, using the guild's locale and provided parameters.
Link copied to clipboard
fun LocalizableEditCallback.editGuild(localizationPath: String, vararg entries: PairEntry): MessageEditCallbackAction
Link copied to clipboard
@CheckReturnValue
@CheckReturnValue
Edits the original message with the localized message at the following path, using the provided locale and parameters.
Link copied to clipboard
fun LocalizableEditCallback.editLocalized(locale: Locale, localizationPath: String, vararg entries: PairEntry): MessageEditCallbackAction
fun LocalizableEditCallback.editLocalized(locale: DiscordLocale, localizationPath: String, vararg entries: PairEntry): MessageEditCallbackAction
Link copied to clipboard
@CheckReturnValue
Edits the original message with the localized message at the following path, using the user's locale and provided parameters.
Link copied to clipboard
fun LocalizableEditCallback.editUser(localizationPath: String, vararg entries: PairEntry): MessageEditCallbackAction