mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
const { token } = require('./auth.json');
|
||||
const Discord = require('../src');
|
||||
const { Client, Intents } = require('../src');
|
||||
|
||||
const client = new Discord.Client({
|
||||
const client = new Client({
|
||||
intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES],
|
||||
shards: process.argv[2],
|
||||
shardCount: process.argv[3],
|
||||
intents: Discord.Intents.NON_PRIVILEGED,
|
||||
|
||||
Reference in New Issue
Block a user