Localization use placeholder instead

This commit is contained in:
2022-06-27 20:28:01 +07:00
parent e121d05653
commit 302885abfb
14 changed files with 113 additions and 104 deletions
+3 -2
View File
@@ -28,8 +28,9 @@ const EMBEDS = {
return makeErrorEmbed({
title: locale.__('common.no_permissions'),
description: locale.__(
'common.no_permissions_description',
'VIEW_CHANNEL, SEND_MESSAGES and MANAGE_CHANNELS'
'common.no_permissions_description', {
PERMISSIONS: 'VIEW_CHANNEL, SEND_MESSAGES, MANAGE_CHANNELS'
}
),
user: data.getUser()
});