From 2f2fb8335cdecf06b999f97f0cfafc9dcc6d3e37 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 5 Apr 2021 09:36:37 -0500 Subject: [PATCH] =?UTF-8?q?Add=20another=20stage=20for=20new=20message/ico?= =?UTF-8?q?n=20in=20k=C3=BClboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 272537c..6c14e43 100644 --- a/bot.js +++ b/bot.js @@ -802,7 +802,13 @@ client.on('messageReactionAdd', (messageReaction, user) => { let numEmoji; let coolness; message.reactions.cache.get(emojiID) ? numEmoji = message.reactions.cache.get(emojiID).count : numEmoji = message.reactions.cache.get(emoji).count; - numEmoji > 6 ? coolness = '<:cool_finger_guns:828632824512512030> *Very* Kül Message' : coolness = '😎 Pretty Kül Message'; + if (numEmoji > 6) { + coolness = '<:cool_finger_guns:828632824512512030> *Very* Kül Message' + } else if (numEmoji > 9) { + coolness = ' **SUPA** Kül Message' + } else { + coolness = '😎 Pretty Kül Message'; + } const messageReactionAddEmbed = new Discord.MessageEmbed() .setTitle("Reaction Added") .setAuthor(user.tag, user.avatarURL()) @@ -883,7 +889,13 @@ client.on('messageReactionRemove', (messageReaction, user) => { let numEmoji; let coolness; message.reactions.cache.get(emojiID) ? numEmoji = message.reactions.cache.get(emojiID).count : numEmoji = message.reactions.cache.get(emoji).count; - numEmoji > 6 ? coolness = '<:cool_finger_guns:828632824512512030> *Very* Kül Message' : coolness = '😎 Pretty Kül Message'; + if (numEmoji > 6) { + coolness = '<:cool_finger_guns:828632824512512030> *Very* Kül Message' + } else if (numEmoji > 9) { + coolness = ' **SUPA** Kül Message' + } else { + coolness = '😎 Pretty Kül Message'; + } const messageReactionRemoveEmbed = new Discord.MessageEmbed() .setTitle("Reaction Removed") .setAuthor(user.tag, user.avatarURL())