8.3 Update

This commit is contained in:
1tzEmerald committed 2024-11-09 00:37:51 +00:00
1 parent ac0daf5fe7
commit 236d67707f
23 files changed
+1576 -2247

No files matched your search

+7 -2
View File
@@ -13,9 +13,10 @@ class Client extends Discord.Client {
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent
],
partials: [Partials.Channel]
partials: [Partials.Message, Partials.Channel]
});
this.commands = new Discord.Collection();
@@ -105,6 +106,10 @@ class Client extends Discord.Client {
tempCommandFiles = tempCommandFiles.filter(item => item !== "settings.js");
}
if (cmdconfig.Mod.Enabled === false) {
tempCommandFiles = tempCommandFiles.filter(item => item !== "mod.js");
}
const commandFiles = tempCommandFiles;
const commands = commandFiles.map((file) => require(`../Commands/${file}`));