mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +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]):
|
||||
"""Converts to a :class:`~discord.ScheduledEvent`.
|
||||
|
||||
All lookups are done for the local guild first, if available. If that lookup
|
||||
fails, then it checks the client's global cache.
|
||||
Lookups are done for the local guild if available. Otherwise, for a DM context,
|
||||
lookup is done by the global cache.
|
||||
|
||||
The lookup strategy is as follows (in order):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user