mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
const { token, guildId, channelId, messageId } = require('./auth.js');
|
||||
const { Client, ReactionCollector } = require('../src');
|
||||
const { Client, Intents, ReactionCollector } = require('../src');
|
||||
|
||||
const client = new Client();
|
||||
const client = new Client({
|
||||
intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.GUILD_MESSAGE_REACTIONS],
|
||||
});
|
||||
|
||||
client.on('ready', async () => {
|
||||
const guild = client.guilds.cache.get(guildId);
|
||||
|
||||
Reference in New Issue
Block a user