From b1e6554d11091c3155378b10cb3c2cb2980cf4fa Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 13 May 2017 18:09:27 -0400 Subject: Replacing to the current one --- bot.js | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 9d1f8aa..00756dd 100644 --- a/bot.js +++ b/bot.js @@ -1 +1,50 @@ -fuck fuck fuck fuck fuck fuck fuck fuck +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 ('MjgyNTQ3MDI0NTQ3NTQ1MTA5.C_Tj-A.KbyWE4ZshBO0ubHEQgeMdHtQ1Ro') + console.log('[INFO] Success! Bot is running, Logged in as ${client.user.username}!') +// WE NEED DEVELOPERS!!!!!!!!!! -- cgit v1.2.3