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 93251348a3 - Show all commits

View File

@ -39,6 +39,7 @@ client.once('ready', async () => {
fn.collections.dotCommands(client);
fn.collections.setvalidCommands(client);
fn.collections.roaches(client);
fn.collections.memberships(client);
await fn.download.gifs(client);
await fn.download.pastas(client);
await fn.download.joints(client);
@ -68,7 +69,11 @@ client.on('interactionCreate', async interaction => {
}
if (client.slashCommands.has(commandName)) {
if (fn.checkMembership(client, interaction.user.id)) {
client.slashCommands.get(commandName).execute(interaction);
} else {
interaction.reply(fn.embeds.noMembership());
}
} else {
interaction.reply('Sorry, I don\'t have access to that command.');
console.error('Slash command attempted to run but not found: ' + commandName);