Skip to content

Commit

Permalink
Fix ALL_NON_PRIVILEGED intent ignoring anything afterwards
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Mar 23, 2024
1 parent 76894e9 commit c382c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gateway/ShardManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class ShardManager extends Collection<number, Shard> {
break;
} else if (intent === "ALL_NON_PRIVILEGED") {
bitmask = AllNonPrivilegedIntents;
break;
continue;
}
this.#client.emit("warn", `Unknown intent: ${intent}`);
}
Expand Down

0 comments on commit c382c1d

Please sign in to comment.