Delete ban.js

This commit is contained in:
Anthony M 2021-03-20 13:17:42 -05:00 committed by GitHub
parent f99a3e338d
commit 2e1e1e58a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 31 deletions

View File

@ -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"));
}
}}}