Prefix localization use placeholder instead

This commit is contained in:
2022-06-27 20:34:51 +07:00
parent 302885abfb
commit 2118dd7bcc
+1 -1
View File
@@ -40,7 +40,7 @@ const EMBEDS = {
PREFIX_UPDATED: (data: HybridInteractionMessage, locale: I18n, newPrefix: string) => { PREFIX_UPDATED: (data: HybridInteractionMessage, locale: I18n, newPrefix: string) => {
return makeSuccessEmbed({ return makeSuccessEmbed({
title: locale.__('settings_prefix.prefix_updated'), title: locale.__('settings_prefix.prefix_updated'),
description: locale.__('settings_prefix.prefix_updated_description', newPrefix), description: locale.__('settings_prefix.prefix_updated_description', { PREFIX: newPrefix }),
user: data.getUser() user: data.getUser()
}); });
} }