mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
fix resume and fetch members handling
This commit is contained in:
@@ -257,14 +257,6 @@ export const createGuild = (data: CreateGuildPayload) => {
|
||||
return new Promise((resolve) => {
|
||||
requestAllMembers(data.id, resolve, guild.memberCount, options)
|
||||
})
|
||||
// return new Promise((res) => this.requestMembersPromise[guildID] = {
|
||||
// res: res,
|
||||
// received: 0,
|
||||
// timeout: setTimeout(() => {
|
||||
// res(this.requestMembersPromise[guildID].received);
|
||||
// delete this.requestMembersPromise[guildID];
|
||||
// }, timeout || this.client.options.requestTimeout)
|
||||
// });
|
||||
},
|
||||
/** Returns the audit logs for the guild. Requires VIEW AUDIT LOGS permission */
|
||||
getAuditLogs: (options: GetAuditLogsOptions) => {
|
||||
|
||||
Reference in New Issue
Block a user