Skip to content

Commit

Permalink
Add note for on_user_update
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Feb 26, 2024
1 parent 8fc963e commit ac283d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/migrating_from_dpy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ Additionally, for guilds with less than 75,000 members, they're synced the per-g
Outside of these cases, you will not receive presence updates for any other users. To obtain the presence of an arbitrary user, you can use the :meth:`Guild.query_members` method.
To stay informed of presence updates for a specific user, you can subscribe to them using the :meth:`Guild.subscribe_to` method. See the :doc:`guild_subscriptions` section for more information.

.. note::

User updates (i.e. :func:`discord.on_user_update`) require either member updates (for at least one guild) or presence updates to be dispatched for the user as outlined above.

AutoMod
--------

Expand Down

0 comments on commit ac283d7

Please sign in to comment.