aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorswawesome9598 <swawesome9598@gmail.com>2017-03-26 18:00:00 -0700
committerGitHub <noreply@github.com>2017-03-26 18:00:00 -0700
commit702fbfa20fd473a2ea97d0a6f17d4b4e750d6102 (patch)
tree1d9b06e32cbec716ab8db5d7cdcd70c6034694f4 /bot.js
parent16197759148c204f36b8a35937ad0f3d849a303d (diff)
downloadAleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.tar.gz
AleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.tar.bz2
AleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.zip
Coding Error Fixed (Hopefully)
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js4
1 files 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');
}
});