diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-05-31 16:09:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-31 16:09:24 -0400 |
| commit | 73ee0089ea1726e6e62ce9cfa2358924236bc9ef (patch) | |
| tree | c1b4ad4cadd00f9eb7f7749947fdf3c5233364f8 /bot.js | |
| parent | 20e7fbb9f17ff718a40991c605abc0927402841c (diff) | |
| download | AleeBot-73ee0089ea1726e6e62ce9cfa2358924236bc9ef.tar.gz AleeBot-73ee0089ea1726e6e62ce9cfa2358924236bc9ef.tar.bz2 AleeBot-73ee0089ea1726e6e62ce9cfa2358924236bc9ef.zip | |
Update and rename bot.js to aleebot.js
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 50 |
1 files changed, 0 insertions, 50 deletions
@@ -1,50 +0,0 @@ -const Discord = require('discord.js'); -const client = new Discord.Client(); - -client.on('message', message => { - if(message.content === 'ab:profile'){ - message.reply(message.author.avatarURL); - } - - }); - -client.on('message', message => { - if(message.content === 'ab:git'){ - message.channel.sendMessage ('Here is the github repo: https://github.com/Alee14/AleeBot'); - } - -}); - -client.on('message', message => { - if(message.content === 'ab:ping'){ - message.reply('Pong! :ping_pong:'); - } - -}); - -client.on('message', message => { - if(message.content === 'ab:pong'){ - message.reply('Ping! :ping_pong:'); - } - -}); - -client.on('message', message => { - if(message.content === 'ab:help'){ - message.channel.sendMessage ('```Commands for AleeBot!\n\nab:profile\nab:git\nab:ping\nab:pong\nab:owner```'); - } - -}); - -client.on('message', message => { - if(message.content === 'ab:owner'){ - message.channel.sendMessage ('The person who made this is Alee14#9928!'); - } - -}); - -client.on("ready", () => client.user.setGame("For help: ab:help")) - - client.login ('token') - console.log('[INFO] Success! Bot is running, Logged in as ${client.user.username}!') -// WE NEED DEVELOPERS!!!!!!!!!! |
