v3.5.0 #30

Merged
voidf1sh merged 11 commits from v3.5.0 into main 2026-09-21 23:01:50 +00:00
Showing only changes of commit 4cf3efa584 - Show all commits

View File

@ -143,7 +143,11 @@ client.on('messageCreate', message => {
if (commandData.isValid && commandData.isCommand) {
try {
client.dotCommands.get(commandData.command).execute(message, commandData);
if (fn.checkMembership(client, message.user.id)) {
client.dotCommands.get(commandData.command).execute(message, commandData);
} else {
message.reply(fn.embeds.noMembership());
}
}
catch (error) {
console.error(error);