mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor(Client): remove fetchAllMembers option (#5257)
* feat(Client): remove fetchAllMembers option & logic * Cleanup * Missed type change
This commit is contained in:
committed by
GitHub
parent
41bd6c2717
commit
aaed72b723
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user