From de3799757b7e18219ba28baf89427d133dd06618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ma=C5=84czak?= Date: Sat, 16 Jul 2022 15:12:01 +0200 Subject: [PATCH] bring back peak comedy from old ver --- src/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.js b/src/index.js index 5bace79..04af8b0 100644 --- a/src/index.js +++ b/src/index.js @@ -21,6 +21,15 @@ for (const Fl of cmdsFls) { } cl.on('messageCreate', (msg) => { + + // peak comedy + if(msg.content.toLowerCase() === "!rank" || msg.content.toLowerCase() === "!levels"){ + msg.channel.send({ + files: ["https://cdn.discordapp.com/attachments/281070649374670849/871103257580281876/tenor.gif"] + }); + } + + if (!msg.content.startsWith(cl.cfg.prefix) || msg.author.bot) return; const args = msg.content.slice(cl.cfg.prefix.length).trim().split(/ +/);