From 702fbfa20fd473a2ea97d0a6f17d4b4e750d6102 Mon Sep 17 00:00:00 2001 From: swawesome9598 Date: Sun, 26 Mar 2017 18:00:00 -0700 Subject: Coding Error Fixed (Hopefully) --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 25bcc00..220ad21 100644 --- a/bot.js +++ b/bot.js @@ -10,7 +10,7 @@ client.on('message', message => { client.on('message', message => { if(message.content === 'aleebot:updates'){ - message ('https://github.com/Alee14/AleeBot'); + message.channel.sendMessage ('https://github.com/Alee14/AleeBot'); } }); @@ -31,7 +31,7 @@ client.on('message', message => { client.on('message', message => { if(message.content === 'aleebot:help'){ - message ('aleebot:profile\naleebot:updates\naleebot:ping\naleebot:pong'); + message.channel.sendMessage ('aleebot:profile\naleebot:updates\naleebot:ping\naleebot:pong'); } }); -- cgit v1.2.3