mirror of
https://github.com/spacebarchat/server.git
synced 2024-09-20 01:31:34 +02:00
Send guild name and icon of guild through Identify gateway opcode
These properties are mandatory as per the documentation: https://discord.com/developers/docs/resources/guild#guild-object
This commit is contained in:
parent
844f1de6aa
commit
7327669672
@ -295,6 +295,8 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
||||
...new ReadyGuildDTO(x).toJSON(),
|
||||
guild_hashes: {},
|
||||
joined_at: x.joined_at,
|
||||
name: x.name,
|
||||
icon: x.icon,
|
||||
};
|
||||
}),
|
||||
guild_experiments: [], // TODO
|
||||
|
Loading…
Reference in New Issue
Block a user