diff options
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/state.py b/discord/state.py index 507226cc..aec723d4 100644 --- a/discord/state.py +++ b/discord/state.py @@ -232,6 +232,12 @@ class ConnectionState: return u.id if u else None @property + def intents(self): + ret = Intents.none() + ret.value = self._intents.value + return ret + + @property def voice_clients(self): return list(self._voice_clients.values()) |