Types
Responsible for handling all types in Discord-Luau, upon requiring this module you’ll have access to two things:
- Types, for all requests, responses and iterations with the websocket, for the v10 discord API.
- A range of enums helping to map out discord status codes, messages and other information.
- Example, we map websocket operations so that the close code
4000is known asUnknownError, which is clearer.
- Example, we map websocket operations so that the close code