LocalizableEditCallback

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
abstract fun editGuild(localizationPath: String, vararg entries: Localization.Entry): MessageEditCallbackAction

Edits the original message with the localized message at the following path, using the guild's locale and provided parameters.

Link copied to clipboard
Link copied to clipboard
@CheckReturnValue
abstract fun editLocalized(locale: Locale, localizationPath: String, vararg entries: Localization.Entry): MessageEditCallbackAction
@CheckReturnValue
open fun editLocalized(locale: DiscordLocale, localizationPath: String, vararg entries: Localization.Entry): MessageEditCallbackAction

Edits the original message with the localized message at the following path, using the provided locale and parameters.

Link copied to clipboard
Link copied to clipboard
@CheckReturnValue
abstract fun editUser(localizationPath: String, vararg entries: Localization.Entry): MessageEditCallbackAction

Edits the original message with the localized message at the following path, using the user's locale and provided parameters.

Link copied to clipboard