aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index fb255719..1ddb09d6 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -749,6 +749,14 @@ class Client:
else:
raise TypeError('allowed_mentions must be AllowedMentions not {0.__class__!r}'.format(value))
+ @property
+ def intents(self):
+ """:class:`Intents`: The intents configured for this connection.
+
+ .. versionadded:: 1.5
+ """
+ return self._connection.intents
+
# helpers/getters
@property