mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +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:
parent
9c054e9222
commit
340f09a1c0
@ -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):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user