sendLocalized

fun MessageChannel.sendLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): MessageCreateAction(source)

Sends a localized message to this channel.

Parameters

localizationPath

The path of the localization template, prefixed with localizationPrefix

entries

The entries to fill the template with

See also


Sends a localized followup message to this interaction hook.

If the interaction was originally deferred, then the ephemeral-ness of this message depends on what was passed there.

Parameters

localizationPath

The path of the localization template, prefixed with localizationPrefix

entries

The entries to fill the template with

See also