Фикс рандомной ошибки

This commit is contained in:
JonnyBro 2022-10-14 20:40:37 +05:00
parent e831a0eb76
commit 6b95a2c8a3

View file

@ -46,7 +46,8 @@ class CommandHandler extends BaseEvent {
userData.achievements.firstCommand.achieved = true;
userData.markModified("achievements.firstCommand");
await userData.save();
await interaction.followUp({
await interaction.channel.send({
content: interaction.user.toString(),
files: [{
name: "achievement_unlocked2.png",
attachment: "./assets/img/achievements/achievement_unlocked2.png"