From 2e1e1e58a9cbd2d1fd2e07dadefddcb3ae2d142c Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 20 Mar 2021 13:17:42 -0500 Subject: [PATCH] Delete ban.js --- commands/ban.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 commands/ban.js diff --git a/commands/ban.js b/commands/ban.js deleted file mode 100644 index c8549fb..0000000 --- a/commands/ban.js +++ /dev/null @@ -1,31 +0,0 @@ -const { GuildMember } = require("discord.js"); - -module.exports = { - name: "ban", - description: "Bans an user, This requires that you have ``BAN_MEMBERS`` or ``ADMINISTRATOR``", - execute(client, message, args) { - const banembed = { - "title": "<:usersuccess:793885338250641469> User Banned", - "description": "User ${user.tag} was banned!", - "color": 5736060, - "fields": [ - { - "name": "Reason", - "value": "reason" - } - ] - }; - const user = message.mentions.users.first(); - if (user) { - const member = message.guild.member(user); - if (member) { - member - .ban({ - reason: 'reason', - }) - .then(() => - - message.channel.send("bye lmao")); - - } - }}} \ No newline at end of file