mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
refactor: switch api and gateway to V8 (#4879)
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com>
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
const assert = require('assert');
|
||||
const { token } = require('./auth');
|
||||
const { Client } = require('../src');
|
||||
const { Client, Intents } = require('../src');
|
||||
|
||||
const client = new Client();
|
||||
const client = new Client({
|
||||
intents: Intents.NON_PRIVILEGED,
|
||||
});
|
||||
|
||||
client.on('ready', async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user