feat: reorder startup

This commit is contained in:
TresAbhi committed 2023-05-24 02:04:55 +00:00
1 parent 94481e81bb
commit 9bfd29b42b
1 file changed
+2 -1
+2 -1
View File
@@ -11,10 +11,11 @@ registerErrorHandlers();
export const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers],
});
export const browser = await chromium.launch();
client
.on('ready', ready)
.on('guildMemberAdd', guildMemberAdd)
.on('interactionCreate', interactionCreate)
.login(args['discord-token']);
export const browser = await chromium.launch();