mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34:58 +05:00
Фикс
This commit is contained in:
parent
e525a911e8
commit
bad3f64161
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Reload extends Command {
|
||||||
await this.client.unloadCommand(cmd.conf.location, cmd.help.name);
|
await this.client.unloadCommand(cmd.conf.location, cmd.help.name);
|
||||||
await this.client.loadCommand(cmd.conf.location, cmd.help.name);
|
await this.client.loadCommand(cmd.conf.location, cmd.help.name);
|
||||||
|
|
||||||
const lang = data.guild.language || "ru-RU";
|
const lang = message.guild ? data.guild.language : "ru-RU";
|
||||||
i18next.reloadResources(lang);
|
i18next.reloadResources(lang);
|
||||||
|
|
||||||
message.success("owner/reload:SUCCESS", {
|
message.success("owner/reload:SUCCESS", {
|
||||||
|
|
Loading…
Reference in a new issue