chunk the member requests more
This commit is contained in:
parent
a1b7278397
commit
0571c0da71
2 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue