Merge branch 'aiko-chan-ai:main' into main
This commit is contained in:
commit
c67f97a4e7
@ -572,6 +572,7 @@ class GuildMemberManager extends CachedManager {
|
||||
timeout.refresh();
|
||||
if (guild.id !== this.guild.id) return;
|
||||
if (type == 'INVALIDATE' && offset > 100) {
|
||||
clearTimeout(timeout);
|
||||
this.client.removeListener(Events.GUILD_MEMBER_LIST_UPDATE, handler);
|
||||
this.client.decrementMaxListeners();
|
||||
reject(new Error('INVALIDATE_MEMBER', raw.ops[0].range));
|
||||
|
@ -1254,6 +1254,7 @@ exports.APIErrors = {
|
||||
TARGET_USER_NOT_CONNECTED_TO_VOICE: 40032,
|
||||
ALREADY_CROSSPOSTED: 40033,
|
||||
TAG_REQUIRED: 40067,
|
||||
INVITES_DISABLED: 40069,
|
||||
MISSING_ACCESS: 50001,
|
||||
INVALID_ACCOUNT_TYPE: 50002,
|
||||
CANNOT_EXECUTE_ON_DM: 50003,
|
||||
|
Loading…
Reference in New Issue
Block a user