mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: reorder startup
This commit is contained in:
1 parent
94481e81bb
commit
9bfd29b42b
1 file changed
+2
-1
+2
-1
@@ -11,10 +11,11 @@ registerErrorHandlers();
|
|||||||
export const client = new Client({
|
export const client = new Client({
|
||||||
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers],
|
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers],
|
||||||
});
|
});
|
||||||
export const browser = await chromium.launch();
|
|
||||||
|
|
||||||
client
|
client
|
||||||
.on('ready', ready)
|
.on('ready', ready)
|
||||||
.on('guildMemberAdd', guildMemberAdd)
|
.on('guildMemberAdd', guildMemberAdd)
|
||||||
.on('interactionCreate', interactionCreate)
|
.on('interactionCreate', interactionCreate)
|
||||||
.login(args['discord-token']);
|
.login(args['discord-token']);
|
||||||
|
|
||||||
|
export const browser = await chromium.launch();
|
||||||
Reference in new issue
Block a user