From e0de2439b798ca951ddd7386bc03e516984933f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= <loic@loics-macbook-pro.home>
Date: Tue, 13 Nov 2018 20:24:02 +0100
Subject: [PATCH] Removed the hackban command beacause it was uselss

---
 commands/admin/hackban.js | 36 ------------------------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 commands/admin/hackban.js

diff --git a/commands/admin/hackban.js b/commands/admin/hackban.js
deleted file mode 100644
index 889d8521..00000000
--- a/commands/admin/hackban.js
+++ /dev/null
@@ -1,36 +0,0 @@
-const { Command } = require('discord.js-commando');
-module.exports = class BanCommand extends Command {
-    constructor(client) {
-        super(client, {
-            name: 'hackban',
-            group: 'admin',
-            memberName: 'hackban',
-            description: 'ban the id of the user even if they are not in the server',
-            guildOnly: true,
-            clientPermissions: ['BAN_MEMBERS'],
-            userPermissions: ['BAN_MEMBERS'],
-            args: [
-                {
-                    key: 'user',
-                    prompt: 'Wich user would you like to ban?',
-                    type: 'user',
-                },
-                {
-                    key: 'reasons',
-                    prompt: 'What is the reasons of the kick',
-                    type: 'string',
-                    default: ''
-                } 
-            ]
-        });
-    }
-
-    async run(message, { user, reasons }) {
-        if(!reasons)
-            reasons = 'Nothing have been specified'
-        if(user.id === message.author.id)
-            return message.say("Why would you ban yourself ?")
-        message.guild.ban(user, `Banned by : ${message.author.username} for the following reasons : ${reasons}`)
-            .then(() => message.reply(`${user} was succesfully banned with the following reasons "${reasons}".`));
-        };
-};
\ No newline at end of file