refactor(Client): remove fetchAllMembers option (#5257)

* feat(Client): remove fetchAllMembers option & logic

* Cleanup

* Missed type change
This commit is contained in:
Matt (IPv4) Cowley
2021-01-27 10:27:50 +00:00
committed by GitHub
parent 41bd6c2717
commit aaed72b723
7 changed files with 22 additions and 39 deletions

View File

@@ -5,7 +5,7 @@ const ytdl = require('ytdl-core');
const auth = require('./auth.js');
const Discord = require('../src');
const client = new Discord.Client({ fetchAllMembers: false, partials: [] });
const client = new Discord.Client({ partials: [] });
client
.login(auth.token)