Add Intent bit for GuildMembers and GuildPresences
Need this for parseMention to work
This commit is contained in:
parent
278cde8e5d
commit
2005e61416
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const createLastfmTable = require('./server/createLastfmTable');
|
||||||
createLastfmTable();
|
createLastfmTable();
|
||||||
checkAndConvertJSONToSQL();
|
checkAndConvertJSONToSQL();
|
||||||
const { Collection, Client, GatewayIntentBits, Partials } = require('discord.js');
|
const { Collection, Client, GatewayIntentBits, Partials } = require('discord.js');
|
||||||
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent], partials: [Partials.Channel] });
|
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildPresences], partials: [Partials.Channel] });
|
||||||
const {
|
const {
|
||||||
globalPrefix,
|
globalPrefix,
|
||||||
token,
|
token,
|
||||||
|
|
Loading…
Add table
Reference in a new issue