handle errors
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-03-11 11:25:26 +01:00
parent 6ad8fd1039
commit cdce2494c5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ export default (interaction: Interaction, client: Client) => {
return command.autocomplete(interaction); return command.autocomplete(interaction);
} }
return; return console.error(loc.get("e_interacreate_no_autocomplete"));
} }
default: default:

View file

@ -2,6 +2,7 @@
"e_interacreate_no_command": "Désolé, la commande n'existe plus...", "e_interacreate_no_command": "Désolé, la commande n'existe plus...",
"e_interacreate_no_modal": "Désolé, le modèle n'existe plus...", "e_interacreate_no_modal": "Désolé, le modèle n'existe plus...",
"e_interacreate_no_button": "Désolé, le bouton n'existe plus...", "e_interacreate_no_button": "Désolé, le bouton n'existe plus...",
"e_interacreate_no_autocomplete": "Désolé, pas d'autocomplétion existe pour cette commande...",
"c_ping_name": "Ping", "c_ping_name": "Ping",
"c_ping_desc": "Pong!", "c_ping_desc": "Pong!",