# discord-gateway Open Source Discord WebSocket Gateway Server For the WebSocket we use [ws](https://www.npmjs.com/package/ws) and we'll write our own packet handler for the individual opcodes and events.