reply Localized
fun BaseCommandEvent.replyLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): MessageCreateAction(source)
Replies a localized message to the user's command.
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 IReplyCallback.replyLocalized(context: LocalizationContext, localizationPath: String, vararg entries: PairEntry): ReplyCallbackAction(source)
Replies a localized message to this interaction and acknowledges it.
Parameters
localization Path
The path of the localization template, prefixed with localizationPrefix unless starting with /
entries
The entries to fill the template with