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/state.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/state.py')
| -rw-r--r-- | discord/state.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/state.py b/discord/state.py index a974b163..0b6c564f 100644 --- a/discord/state.py +++ b/discord/state.py @@ -70,6 +70,7 @@ class ConnectionState: self._ready_task = None self._fetch_offline = options.get('fetch_offline_members', True) self.heartbeat_timeout = options.get('heartbeat_timeout', 60.0) + self.guild_subscriptions = options.get('guild_subscriptions', True) self._listeners = [] activity = options.get('activity', None) |