Фиксы

This commit is contained in:
JonnyBro 2022-01-04 01:47:53 +05:00
parent a09a37eb76
commit 46a0911f1c
2 changed files with 3 additions and 2 deletions

View file

@ -82,10 +82,11 @@ class Profile extends Command {
}) // Sets the footer of the embed }) // Sets the footer of the embed
.setTimestamp(); .setTimestamp();
const buffer = userData.getAchievements();
message.channel.send({ message.channel.send({
embeds: [profileEmbed], embeds: [profileEmbed],
files: [{ files: [{
attachment: userData.getAchievements() attachment: buffer
}] }]
}); // Send the embed in the current channel }); // Send the embed in the current channel
} }

View file

@ -1,6 +1,6 @@
{ {
"DESCRIPTION": "Управление резервными копиями сервера!", "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", "EXAMPLES": "{{prefix}}backup create\n{{prefix}}backup load 123456789098765432\n{{prefix}}backup info 123456789098765432",
"MISSING_STATUS": "Выберите действие: `create`, `load`, `info` или `remove`!", "MISSING_STATUS": "Выберите действие: `create`, `load`, `info` или `remove`!",
"MISSING_BACKUP_ID": "Укажите ID резервной копии!", "MISSING_BACKUP_ID": "Укажите ID резервной копии!",