From a819ed0ea848fdca75098c1a5eeb15348cc9991a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Jul 2022 17:09:34 +0200 Subject: [PATCH] use localization --- src/commands/misc/ping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/misc/ping.ts b/src/commands/misc/ping.ts index c6d0573..10881aa 100644 --- a/src/commands/misc/ping.ts +++ b/src/commands/misc/ping.ts @@ -4,8 +4,8 @@ import { getLocale } from '../../utils/locales'; export default { data: (client: Client) => new SlashCommandBuilder() - .setNameLocalizations(getLocale(client, 'ping_name')) - .setDescriptionLocalizations(getLocale(client, 'ping_desc')), + .setNameLocalizations(getLocale(client, 'c_ping_name')) + .setDescriptionLocalizations(getLocale(client, 'c_ping_desc')), interaction: async (interaction: CommandInteraction, client: Client) => { const loc = client.locales.get(interaction.locale) ?? client.locales.get(client.config.default_lang);