edit Localized
fun IMessageEditCallback.editLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): MessageEditCallbackAction(source)
Edits the text content of the original message with a localized message.
Parameters
localization Path
The path of the localization template, prefixed with localizationPrefix unless starting with /
entries
The entries to fill the template with
See also
fun InteractionHook.editLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): WebhookMessageEditAction<Message>(source)
Edits the text content of the original message with a localized message.
Parameters
localization Path
The path of the localization template, prefixed with localizationPrefix unless starting with /
entries
The entries to fill the template with
See also
fun Message.editLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): MessageEditAction(source)
Edits the text content of the message with a localized message.
Parameters
localization Path
The path of the localization template, prefixed with localizationPrefix unless starting with /
entries
The entries to fill the template with