mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
🐛 fix event listener
This commit is contained in:
parent
0e582bf71b
commit
075d19607f
@ -59,7 +59,7 @@ export async function dispatch(this: WebSocket, document: Event, { eventStream,
|
||||
guilds.push(document.guild_id);
|
||||
eventStream.changeStream(getPipeline.call(this, guilds));
|
||||
} else if (document.event === "GUILD_DELETE") {
|
||||
guilds.remove(document.guild);
|
||||
guilds.remove(document.guild_id);
|
||||
eventStream.changeStream(getPipeline.call(this, guilds));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user