Browse Source

[commands] Update ScheduledEventConverter docs for clarity

Co-authored-by: Danny <[email protected]>
Co-authored-by: ashish  <[email protected]>
pull/7615/head
mysistersbrother 3 years ago
committed by GitHub
parent
commit
340f09a1c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/ext/commands/converter.py

4
discord/ext/commands/converter.py

@ -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…
Cancel
Save