From 7b00dd543ba5270241605a1dcf5ff7f06d94e291 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Fri, 10 Nov 2017 19:05:09 -0500 Subject: Removed abwelcome and added the git command --- src/bot.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/bot.js b/src/bot.js index f97f857..726f1ae 100644 --- a/src/bot.js +++ b/src/bot.js @@ -59,7 +59,7 @@ client.on("message", function(message) { var embed = new Discord.RichEmbed() .setAuthor('AleeBot ' + abVersion + ` Help and on ${client.guilds.size} servers`, "https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048") .setDescription("Every command you input into AleeBot is `" + config.prefix + "`") - .addField("- General Commands", "ping\nuptime", true) + .addField("- General Commands", "ping\nuptime\ngit", true) .setFooter("AleeCorp Copyright 2017") .setColor("#1fd619") message.channel.sendEmbed(embed); @@ -83,6 +83,10 @@ client.on("message", function(message) { message.channel.send(":clock3: AleeBot has been up for " + hours + " hours, " + uptimeMinutes + " minutes, and " + uptimeSeconds + " seconds.") } + if (command === 'git') { + message.author.send("I can see you want to contribute to this project.\nHere's the link: https://github.com/AleeCorp/AleeBot") + } + }); client.login(config.abtoken).catch(function() { console.log("[X] Login failed. Please contact Alee14#9928 or email him at alee14498@gmail.com."); -- cgit v1.2.3