mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34:58 +05:00
Фикс рандомной ошибки
This commit is contained in:
parent
e831a0eb76
commit
6b95a2c8a3
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ class CommandHandler extends BaseEvent {
|
||||||
userData.achievements.firstCommand.achieved = true;
|
userData.achievements.firstCommand.achieved = true;
|
||||||
userData.markModified("achievements.firstCommand");
|
userData.markModified("achievements.firstCommand");
|
||||||
await userData.save();
|
await userData.save();
|
||||||
await interaction.followUp({
|
await interaction.channel.send({
|
||||||
|
content: interaction.user.toString(),
|
||||||
files: [{
|
files: [{
|
||||||
name: "achievement_unlocked2.png",
|
name: "achievement_unlocked2.png",
|
||||||
attachment: "./assets/img/achievements/achievement_unlocked2.png"
|
attachment: "./assets/img/achievements/achievement_unlocked2.png"
|
||||||
|
|
Loading…
Reference in a new issue