From da4865a99d7c136375337d265e989e344b1816da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sun, 14 Jul 2019 11:31:56 +0200 Subject: [PATCH] only if message is haha yes --- event/listeners/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/listeners/message.js b/event/listeners/message.js index 978f338..6bcc9e1 100644 --- a/event/listeners/message.js +++ b/event/listeners/message.js @@ -24,7 +24,7 @@ class messageListener extends Listener { yes = yes.replace('yes', ''); yes += 'very'; return message.channel.send(`haha${yes} yes`); - } else if (message.content.toLowerCase().startsWith('haha yes')) { + } else if (message.content.toLowerCase() == 'haha yes') { return message.channel.send('haha very yes'); }