diff --git a/assets/img/b.png b/assets/img/b.png new file mode 100644 index 00000000..6687650f Binary files /dev/null and b/assets/img/b.png differ diff --git a/commands/Economy/rep.js b/commands/Economy/rep.js index 8689f0ec..ec625427 100644 --- a/commands/Economy/rep.js +++ b/commands/Economy/rep.js @@ -51,6 +51,7 @@ class Rep extends Command { if (userData.achievements.rep.progress.now >= userData.achievements.rep.progress.total) { userData.achievements.rep.achieved = true; message.channel.send({ + content: `${user}`, files: [{ name: "achievement_unlocked6.png", attachment: "./assets/img/achievements/achievement_unlocked6.png" diff --git a/commands/Economy/slots.js b/commands/Economy/slots.js index e3d116a5..31fe1e4c 100644 --- a/commands/Economy/slots.js +++ b/commands/Economy/slots.js @@ -101,7 +101,7 @@ class Slots extends Command { data.userData.achievements.slots.progress.now += 1; if (data.userData.achievements.slots.progress.now === data.userData.achievements.slots.progress.total) { data.userData.achievements.slots.achieved = true; - message.channel.send({ + message.reply({ files: [{ name: "achievement_unlocked4.png", attachment: "./assets/img/achievements/achievement_unlocked4.png" @@ -142,7 +142,7 @@ class Slots extends Command { data.userData.achievements.slots.progress.now += 1; if (data.userData.achievements.slots.progress.now === data.userData.achievements.slots.progress.total) { data.userData.achievements.slots.achieved = true; - message.channel.send({ + message.reply({ files: [{ name: "achievement_unlocked4.png", attachment: "./assets/img/achievements/achievement_unlocked4.png" diff --git a/events/messageCreate.js b/events/messageCreate.js index b8b70859..277809a6 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -9,6 +9,7 @@ module.exports = class { async run(message) { if (message.guild && message.guild.id === "568120814776614924") return; + if (message.content.includes("no bitches")) message.reply({ files: [{ name: "b.png", attachment: "./assets/img/b.png" }] }); const data = {}; @@ -182,7 +183,7 @@ module.exports = class { data.userData.achievements.firstCommand.achieved = true; data.userData.markModified("achievements.firstCommand"); await data.userData.save(); - await message.channel.send({ + await message.reply({ files: [{ name: "achievement_unlocked2.png", attachment: "./assets/img/achievements/achievement_unlocked2.png"