diff options
| author | swawesome9598 <swawesome9598@gmail.com> | 2017-03-26 17:47:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-26 17:47:41 -0700 |
| commit | 16197759148c204f36b8a35937ad0f3d849a303d (patch) | |
| tree | 3fb62f7e0dbad592ba04bd467062635d39509b08 /bot.js | |
| parent | 21d0c7e44d5118fc0c7b98dedee684d8a52f7b2e (diff) | |
| download | AleeBot-16197759148c204f36b8a35937ad0f3d849a303d.tar.gz AleeBot-16197759148c204f36b8a35937ad0f3d849a303d.tar.bz2 AleeBot-16197759148c204f36b8a35937ad0f3d849a303d.zip | |
Updates
Added Some Commands And For The Bot To Be Playing aleebot:help
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -8,4 +8,34 @@ client.on('message', message => { }); +client.on('message', message => { + if(message.content === 'aleebot:updates'){ + message ('https://github.com/Alee14/AleeBot'); + } + +}); + +client.on('message', message => { + if(message.content === 'aleebot:ping'){ + message.reply('Pong! :ping_pong:'); + } + +}); + +client.on('message', message => { + if(message.content === 'aleebot:pong'){ + message.reply('Ping! :ping_pong:'); + } + +}); + +client.on('message', message => { + if(message.content === 'aleebot:help'){ + message ('aleebot:profile\naleebot:updates\naleebot:ping\naleebot:pong'); + } + +}); + +client.on("ready", () => client.user.setGame("aleebot:help")) + client.login ('') |
