Merge branch 'master' of https://github.com/fosscord/fosscord-gateway
This commit is contained in:
commit
671091a13f
@ -62,7 +62,7 @@ export async function dispatch(this: WebSocket, document: Event, { eventStream,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (document.event === "GUILD_CREATE") {
|
if (document.event === "GUILD_CREATE") {
|
||||||
guilds.push(document.guild_id);
|
guilds.push(document.data.id);
|
||||||
eventStream.changeStream(getPipeline.call(this, guilds));
|
eventStream.changeStream(getPipeline.call(this, guilds));
|
||||||
} else if (document.event === "GUILD_DELETE") {
|
} else if (document.event === "GUILD_DELETE") {
|
||||||
guilds.remove(document.guild_id);
|
guilds.remove(document.guild_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user