diff options
| author | Rapptz <[email protected]> | 2019-07-10 03:40:35 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-07-10 04:51:27 -0400 |
| commit | 7b8d50a9885cef35322b3ee4a7212db1ba0ff8b7 (patch) | |
| tree | b7e1b7729e049bfe63898d8654a0b34f7c848da1 /discord/gateway.py | |
| parent | Different method of upgrading user instances (diff) | |
| download | discord.py-7b8d50a9885cef35322b3ee4a7212db1ba0ff8b7.tar.xz discord.py-7b8d50a9885cef35322b3ee4a7212db1ba0ff8b7.zip | |
Add support for guild subscriptions.
Diffstat (limited to 'discord/gateway.py')
| -rw-r--r-- | discord/gateway.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index 361e1a69..7d71425b 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -297,6 +297,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): }, 'compress': True, 'large_threshold': 250, + 'guild_subscriptions': self._connection.guild_subscriptions, 'v': 3 } } |