Discord glossary
Gateway
The live WebSocket connection bots use to receive events from Discord in real time.
Large bots split their gateway connection into shards so each handles a subset of servers.
Related terms
- Gateway intents
- Flags a bot sets to choose which events Discord sends it.
- Shard
- One of several gateway connections a large bot uses, each handling part of its servers.
- Rate limit
- The cap on how many requests an app can make to Discord in a period of time.