mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -4,9 +4,7 @@ const assert = require('assert');
|
||||
const { token } = require('./auth');
|
||||
const { Client, Intents } = require('../src');
|
||||
|
||||
const client = new Client({
|
||||
intents: Intents.NON_PRIVILEGED,
|
||||
});
|
||||
const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
|
||||
|
||||
client.on('ready', async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user