diff --git a/gateway/src/listener/listener.ts b/gateway/src/listener/listener.ts index 8a90ce0c..5975fbb7 100644 --- a/gateway/src/listener/listener.ts +++ b/gateway/src/listener/listener.ts @@ -204,7 +204,7 @@ async function consume(this: WebSocket, opts: EventOpts) { break; case "GUILD_BAN_ADD": case "GUILD_BAN_REMOVE": - if (!permission.has("BAN_MEMBERS")) break; + if (!permission.has("BAN_MEMBERS")) return; break; case "VOICE_STATE_UPDATE": case "MESSAGE_CREATE":