From 171446739af90e4d45df7e61a278536c83278d69 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Thu, 20 Sep 2018 18:48:19 +0200 Subject: [PATCH] removed "say" --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 94d26c70..92ebfae3 100644 --- a/index.js +++ b/index.js @@ -70,11 +70,11 @@ client.registry // Delete the messages that triggered it and send a messages // if(delresponseObject[message_content]) { // message.delete(); -// message.say(delresponseObject[message_content]); +// message.channel.send(delresponseObject[message_content]); // } else // React to the message and send an auto response with it if(responseObject[message_content] && reactObject[message_content]) { - message.say(responseObject[message_content]); + message.channel.send(responseObject[message_content]); message.react(reactObject[message_content]); // React only to the messages } @@ -83,7 +83,7 @@ client.registry } // auto respond to messages else if(responseObject[message_content]) { - message.say(responseObject[message_content]); + message.channel.send(responseObject[message_content]); } });