From 49b531d971aa491f99d1a72176f8bc7021905528 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 5 Apr 2019 19:46:59 +0200 Subject: [PATCH] added [delete] for the tag that will delete the message --- event/listeners/message.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/event/listeners/message.js b/event/listeners/message.js index 484f2bf1..b41887c8 100644 --- a/event/listeners/message.js +++ b/event/listeners/message.js @@ -15,11 +15,6 @@ class messageListener extends Listener { } async exec(message) { - //I FUCKING HATE THIS GIF PLS KILL ME - if (message.guild.id== '482734525563273216' && message.content.includes('https://media.discordapp.net/attachments/532980995767533568/561977366977445889/meme.gif')) - return message.delete(); - //Yes i will remove it soon anyway its nothing serious - if (message.author.bot) return; { let autoresponse = reload('../../json/autoresponse.json'); let message_content = message.content.toLowerCase(); @@ -60,6 +55,8 @@ class messageListener extends Listener { message.member.ban('Tag ban :^)'); } else if (text.includes('[kick]')) { message.member.kick('Tag kick :^)'); + } else if (text.includes('[delete]')) { + message.delete('Tag delete :^)'); } text = rand.random(text, message);