aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-05-13 18:09:27 -0400
committerGitHub <noreply@github.com>2017-05-13 18:09:27 -0400
commitb1e6554d11091c3155378b10cb3c2cb2980cf4fa (patch)
tree3a49db89e5b85da37ce49f7d8b64378571f7d2bf /bot.js
parentdaf9553a244e4ef8bda5dd1a9bf707a55f5b6807 (diff)
downloadAleeBot-b1e6554d11091c3155378b10cb3c2cb2980cf4fa.tar.gz
AleeBot-b1e6554d11091c3155378b10cb3c2cb2980cf4fa.tar.bz2
AleeBot-b1e6554d11091c3155378b10cb3c2cb2980cf4fa.zip
Replacing to the current one
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js51
1 files changed, 50 insertions, 1 deletions
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!!!!!!!!!!