diff --git a/commands/Owner/reload.js b/commands/Owner/reload.js index a377c095..f762987b 100644 --- a/commands/Owner/reload.js +++ b/commands/Owner/reload.js @@ -25,7 +25,7 @@ class Reload extends Command { await this.client.unloadCommand(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); message.success("owner/reload:SUCCESS", {