diff options
| author | swawesome9598 <swawesome9598@gmail.com> | 2017-03-26 18:00:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-26 18:00:00 -0700 |
| commit | 702fbfa20fd473a2ea97d0a6f17d4b4e750d6102 (patch) | |
| tree | 1d9b06e32cbec716ab8db5d7cdcd70c6034694f4 | |
| parent | 16197759148c204f36b8a35937ad0f3d849a303d (diff) | |
| download | AleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.tar.gz AleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.tar.bz2 AleeBot-702fbfa20fd473a2ea97d0a6f17d4b4e750d6102.zip | |
Coding Error Fixed (Hopefully)
| -rw-r--r-- | bot.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'); } }); |
