feat: locales #27
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ export default (interaction: Interaction, client: Client) => {
|
||||||
const command = client.commands.get(interaction.commandName);
|
const command = client.commands.get(interaction.commandName);
|
||||||
if (!command) {
|
if (!command) {
|
||||||
return interaction.reply({
|
return interaction.reply({
|
||||||
content: client.locale.get('e_interacreate'),
|
content: client.locales.get(interaction.locale)?.get('e_interacreate'),
|
||||||
ephemeral: true,
|
ephemeral: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue