mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 02:43:01 +00:00
[commands] Update ScheduledEventConverter docs for clarity
Co-authored-by: Danny <Rapptz@users.noreply.github.com> Co-authored-by: ashish <68690233+asheeeshh@users.noreply.github.com>
This commit is contained in:
@ -878,8 +878,8 @@ class GuildStickerConverter(IDConverter[discord.GuildSticker]):
|
|||||||
class ScheduledEventConverter(IDConverter[discord.ScheduledEvent]):
|
class ScheduledEventConverter(IDConverter[discord.ScheduledEvent]):
|
||||||
"""Converts to a :class:`~discord.ScheduledEvent`.
|
"""Converts to a :class:`~discord.ScheduledEvent`.
|
||||||
|
|
||||||
All lookups are done for the local guild first, if available. If that lookup
|
Lookups are done for the local guild if available. Otherwise, for a DM context,
|
||||||
fails, then it checks the client's global cache.
|
lookup is done by the global cache.
|
||||||
|
|
||||||
The lookup strategy is as follows (in order):
|
The lookup strategy is as follows (in order):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user