[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:
mysistersbrother 2022-03-10 16:20:11 +11:00 committed by GitHub
parent 9c054e9222
commit 340f09a1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):