Changing bitfield to no longer need privileged intents
This commit is contained in:
parent
5d5c9e9a48
commit
9420839679
2
index.js
2
index.js
@ -1,7 +1,7 @@
|
|||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
const { Client, Collection } = require("discord.js");
|
const { Client, Collection } = require("discord.js");
|
||||||
|
|
||||||
const client = new Client({ intents: 32767 });
|
const client = new Client({ intents: 4097 });
|
||||||
module.exports = client;
|
module.exports = client;
|
||||||
|
|
||||||
// Global Variables
|
// Global Variables
|
||||||
|
Loading…
Reference in New Issue
Block a user