relative locale
This commit is contained in:
parent
0f2078b794
commit
1b4a594880
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);
|
||||
if (!command) {
|
||||
return interaction.reply({
|
||||
content: client.locale.get('e_interacreate'),
|
||||
content: client.locales.get(interaction.locale)?.get('e_interacreate'),
|
||||
ephemeral: true,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue