diff --git a/src/events/interactions/interactionCreate.ts b/src/events/interactions/interactionCreate.ts index f550281..2ce15e8 100644 --- a/src/events/interactions/interactionCreate.ts +++ b/src/events/interactions/interactionCreate.ts @@ -6,7 +6,7 @@ export default (interaction: Interaction, client: Client) => { const command = client.commands.get(interaction.commandName); if (!command) { return interaction.reply({ - content: client.locales.get(interaction.locale)?.get('e_interacreate'), + content: client.locales.get(interaction.locale)?.get('e_interacreate_no_command'), ephemeral: true, }); } diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 3d770a0..fe704bf 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -1,8 +1,7 @@ { - "e_interacreate": "Sorry, the command probably no longer exists...", + "e_interacreate_no_command": "Sorry, the command probably no longer exists...", - "c_ping_name": "Ping", - "c_ping_desc": "Pong", + "c_ping_desc": "Pong!", "c_ping1": "Roundtrip latency", "c_ping2": "Websocket heartbeat" } diff --git a/src/locales/fr.json b/src/locales/fr.json index 55a95b8..380b6f5 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1,5 +1,5 @@ { - "e_interacreate": "Désolé, la commande n'existe plus...", + "e_interacreate_no_command": "Désolé, la commande n'existe plus...", "c_ping1": "Latence totale", "c_ping2": "Latence du Websocket"