forked from embee/woomy
request intents from gateway
This commit is contained in:
parent
18db7e597d
commit
ba4781f0f4
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ const { promisify } = require('util');
|
||||||
const readdir = promisify(require('fs').readdir);
|
const readdir = promisify(require('fs').readdir);
|
||||||
const Enmap = require('enmap');
|
const Enmap = require('enmap');
|
||||||
const chalk = require('chalk');
|
const chalk = require('chalk');
|
||||||
const client = new Discord.Client();
|
const client = new Discord.Client({ ws: { intents: Discord.Intents.ALL }});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
client.config = require('./config');
|
client.config = require('./config');
|
||||||
|
|
Loading…
Reference in a new issue