change string for locales
This commit is contained in:
parent
dcf325c7fc
commit
3b1611ee3c
3 changed files with 4 additions and 5 deletions
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue