worked on stats, database, ban
diff --git a/src/commands/mod/ban.ts b/src/commands/mod/ban.ts
index 41d1252..78f936c 100644
--- a/src/commands/mod/ban.ts
+++ b/src/commands/mod/ban.ts
@@ -191,7 +191,10 @@
if (!interaction.guild) return;
const member = interaction.member as GuildMember;
// Check if the user has ban_members permission
- if (!member.permissions.has("BanMembers")) return "You do not have the *Ban Members* permission";
+ if (!member.permissions.has("BanMembers")) {
+ // if(!partial) client.logger.warn("Missing permissions", "Ban", "User does not have Ban Members permission");
+ return "You do not have the *Ban Members* permission";
+ }
if (partial) return true;
const me = interaction.guild.members.me!;
let apply: GuildMember;