Skip to content

Commit 76fe516

Browse files
authored
Merge pull request #416 from davidhozic/develop
Documentation
2 parents 2b08edb + f39e6d5 commit 76fe516

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

docs/source/guide/GUI/analytics.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ These are :ref:`Logs frame (invites)` and :ref:`Counts frame (invites)` .
9191
the Discord developer portal and also set the ``members`` intent to True
9292
inside the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
9393

94+
Invites intent is also needed. Enable it by setting ``invites`` to True inside
95+
the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
96+
9497
Invite link tracking is **bot account** only and does not work on user accounts.
9598

9699

docs/source/guide/core/logging.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ The logging module is responsible for 2 types of logging:
2222
the Discord developer portal and also set the ``members`` intent to True
2323
inside the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
2424

25+
Invites intent is also needed. Enable it by setting ``invites`` to True inside
26+
the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
27+
2528
Invite link tracking is **bot account** only and does not work on user accounts.
2629

2730

src/daf/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class ACCOUNT:
7373
.. warning::
7474
7575
For invite link tracking to work, it is required to set ``members`` intents to True.
76+
Invites intent is also needed. Enable it by setting ``invites`` to True inside
77+
the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
7678
7779
Intent ``guilds`` is also required for AutoGUILD and AutoCHANNEL, however it is automatically forced
7880
to True, as it is not a priveleged intent.

src/daf/guild.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ class GUILD(_BaseGUILD):
441441
the ``intents`` parameters of :class:`daf.client.ACCOUNT`.
442442
This is a **privileged intent** that also needs to be enabled though Discord's developer portal for each bot.
443443
After it is enabled, you can set it to True .
444+
445+
Invites intent is also needed. Enable it by setting ``invites`` to True inside
446+
the ``intents`` parameter of :class:`~daf.client.ACCOUNT`.
447+
444448
"""
445449
__slots__ = (
446450
"update_semaphore",

0 commit comments

Comments
 (0)