feat: re-enabled guildMemberAdd

This commit is contained in:
TresAbhi committed 2023-04-22 01:59:41 +00:00
1 parent 2ae2d4f1a7
commit 68b2b3dd7d
1 file changed
+2 -1
+2 -1
View File
@@ -1,4 +1,5 @@
import { Client, GatewayIntentBits } from 'discord.js';
import guildMemberAdd from './behaviors/guildMemberAdd.js';
import interactionCreate from './behaviors/interactionCreate.js';
import ready from './behaviors/ready.js';
import tokenRequirements from './utilities/tokenRequirements.js';
@@ -11,6 +12,6 @@ const client = new Client({
client.on('error', console.error);
client.on('ready', ready);
// client.on('guildMemberAdd', guildMemberAdd);
client.on('guildMemberAdd', guildMemberAdd);
client.on('interactionCreate', interactionCreate);
client.login(process.env.DISCORD_TOKEN);