chunk the member requests more
This commit is contained in:
@@ -1069,6 +1069,10 @@ class Localuser {
|
||||
}
|
||||
}
|
||||
async getmembers() {
|
||||
let res;
|
||||
const promise = new Promise(r => res = r);
|
||||
setTimeout(res, 10);
|
||||
await promise; //allow for more to be sent at once :P
|
||||
if (this.ws) {
|
||||
this.waitingmembers.forEach(async (value, guildid) => {
|
||||
const keys = value.keys();
|
||||
|
Reference in New Issue
Block a user