summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-08-02 19:47:48 -0400
committerUnknown <Alee14498@gmail.com>2017-08-02 19:47:48 -0400
commit08e3e66ae42ca026c6babf80fbdc97ae1224bf4f (patch)
tree30968ae1f8408cd14acf07f7d9e938e4c07cb308
parent03c961f308b3654309375c76506be9559ca10031 (diff)
downloadAleeBot-08e3e66ae42ca026c6babf80fbdc97ae1224bf4f.tar.gz
AleeBot-08e3e66ae42ca026c6babf80fbdc97ae1224bf4f.tar.bz2
AleeBot-08e3e66ae42ca026c6babf80fbdc97ae1224bf4f.zip
Removing stuff
-rw-r--r--aleebot.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/aleebot.js b/aleebot.js
index aa3587a..8db2256 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -11,7 +11,6 @@
const Discord = require('discord.js');
const client = new Discord.Client();
const config = require('./absettings.json');
-const consts = require('./consts.js');
const prefix = "ab:";
var abversion = "1.0.8";
@@ -158,24 +157,9 @@ client.on("message", function(message){
'ab:kick Kicks people\n' +
'ab:ban Bans People\n' +
"ab:rm Removes the message with a amount\n" +
- "ab:leave Makes me leave the server\n" +
'Please note that we are still working on this feature!```');
}
- if (command === "leave") {
-
- if (message.author.id == consts.users.alee14 || message.author.id == message.guild.owner.user.id) {
-
- message.reply("You want me to leave this server? Fine, i'm gone!").then(function() {
-
- message.guild.leave();
-
- else
-
- message.reply("Hey! You don't have permission to kick me out of this server!");
- return true;
- }
-
});