From 46a0911f1c609a341417d276355723d39b489461 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Tue, 4 Jan 2022 01:47:53 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Economy/profile.js | 3 ++- languages/ru-RU/administration/backup.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/Economy/profile.js b/commands/Economy/profile.js index f99ddbd0..3e7323c2 100644 --- a/commands/Economy/profile.js +++ b/commands/Economy/profile.js @@ -82,10 +82,11 @@ class Profile extends Command { }) // Sets the footer of the embed .setTimestamp(); + const buffer = userData.getAchievements(); message.channel.send({ embeds: [profileEmbed], files: [{ - attachment: userData.getAchievements() + attachment: buffer }] }); // Send the embed in the current channel } diff --git a/languages/ru-RU/administration/backup.json b/languages/ru-RU/administration/backup.json index f132de6b..be1fd07f 100644 --- a/languages/ru-RU/administration/backup.json +++ b/languages/ru-RU/administration/backup.json @@ -1,6 +1,6 @@ { "DESCRIPTION": "Управление резервными копиями сервера!", - "USAGE": "{{prefix}}backup [create/load/info]", + "USAGE": "{{prefix}}backup [create/load/info/remove]", "EXAMPLES": "{{prefix}}backup create\n{{prefix}}backup load 123456789098765432\n{{prefix}}backup info 123456789098765432", "MISSING_STATUS": "Выберите действие: `create`, `load`, `info` или `remove`!", "MISSING_BACKUP_ID": "Укажите ID резервной копии!",