From 859d1f4f37c7585a8ea5203d0bb2d7762e9ad3d0 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 23 Jul 2022 16:45:01 +0200 Subject: [PATCH 1/2] add translation --- src/locales/fr.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/locales/fr.json b/src/locales/fr.json index 380b6f5..24f0dbe 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1,6 +1,7 @@ { "e_interacreate_no_command": "Désolé, la commande n'existe plus...", + "c_ping_desc": "Pong!", "c_ping1": "Latence totale", "c_ping2": "Latence du Websocket" } -- 2.45.2 From cf43170d8470e2b412b67598e8f670cdfd6f98d1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 23 Jul 2022 16:45:07 +0200 Subject: [PATCH 2/2] change default lang --- src/utils/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/client.ts b/src/utils/client.ts index 4ec27d7..298e37a 100644 --- a/src/utils/client.ts +++ b/src/utils/client.ts @@ -39,7 +39,7 @@ export default async () => { client.config = { version: JSON.parse(readFileSync('./package.json').toString()).version, token_discord: process.env.TOKEN_DISCORD, - default_lang: 'en-US', + default_lang: 'fr', }; client.commands = new Collection(); -- 2.45.2