mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: new stats renderer
This commit is contained in:
1 parent
a0290bb59f
commit
94481e81bb
14 files changed
+333
-126
No files matched your search
+3
-6
@@ -1,3 +1,4 @@
|
||||
import { chromium } from '@playwright/test';
|
||||
import { Client, GatewayIntentBits } from 'discord.js';
|
||||
import { args } from './core/process/args.js';
|
||||
import { registerErrorHandlers } from './events/error.js';
|
||||
@@ -5,16 +6,12 @@ import guildMemberAdd from './events/guildMemberAdd.js';
|
||||
import interactionCreate from './events/interactionCreate.js';
|
||||
import ready from './events/ready.js';
|
||||
|
||||
// sudo apt-get install libatk-bridge2.0-0
|
||||
// node node_modules/puppeteer/install.js
|
||||
registerErrorHandlers();
|
||||
|
||||
export const client = new Client({
|
||||
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers],
|
||||
});
|
||||
// export const browser = await launch({ headless: 'new' });
|
||||
// export const page = await browser.newPage();
|
||||
|
||||
registerErrorHandlers();
|
||||
export const browser = await chromium.launch();
|
||||
|
||||
client
|
||||
.on('ready', ready)
|
||||
|
||||
Reference in new issue
Block a user