From 9f035903a2a8d23256cc575574304422e6263587 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Tue, 28 Mar 2023 00:17:23 +0500 Subject: [PATCH] =?UTF-8?q?=D0=95=D1=89=D1=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/autoUpdateDocs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/autoUpdateDocs.js b/helpers/autoUpdateDocs.js index 5ec083bc..cb78b3c0 100644 --- a/helpers/autoUpdateDocs.js +++ b/helpers/autoUpdateDocs.js @@ -38,7 +38,7 @@ module.exports.update = function (client) { `**${cmd.command.name}** ${cmd.aliases.length ? `**(${cmd.aliases.join(", ")})**` : ""}`, client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:DESCRIPTION`), `${cmd.command.name} ${client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:USAGE`).replace(/\n/, " \\| ")}`, - cmd.guildOnly ? "Только на сервере" : "На сервере и в ЛС бота", + cmd.command.dm_permission ? "На сервере и в ЛС бота" : "Только на сервере", ]); }); text += `${table(categoriesArray)}\n\n`;