diff options
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/state.py b/discord/state.py index 39190f1e..db47059b 100644 --- a/discord/state.py +++ b/discord/state.py @@ -139,6 +139,8 @@ class ConnectionState: if not intents.members and self._fetch_offline: raise ValueError('Intents.members has be enabled to fetch offline members.') + else: + intents = Intents() cache_flags = options.get('member_cache_flags', None) if cache_flags is None: |