Remove ban: Moderation is far from complete, I'd rather wait until moderation is actually added to readd banning

This commit is contained in:
IDeletedSystem64 2022-03-18 21:31:07 -05:00
parent 8f1583b8da
commit 1ce2063071

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