spacebarchat / server

Spacebar server - A reimplementation of the Discord.com backend, built with Typescript and love
https://spacebar.chat
GNU Affero General Public License v3.0
1.49k stars 250 forks source link

Implement opcode 8 (Request Guild Members) #1159

Closed DEVTomatoCake closed 3 months ago

DEVTomatoCake commented 3 months ago

Implements opcode 8, mostly used by bots to request members within a server.

To support presences, client_status had to be added to sessions to be able to store and retrieve it. It's currently not possible to insert data into it, as I haven't been able to figure out where it comes from.

Closes #248

MathMan05 commented 3 months ago

Or used by jank to resolve member in a non-terrible way