feat: locales #27

Merged
Anri merged 26 commits from lang into main 2022-07-22 11:46:48 +02:00
Showing only changes of commit 1b4a594880 - Show all commits

View file

@ -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,
}); });
} }