Skip to content

Commit

Permalink
Fix event.cover doc format
Browse files Browse the repository at this point in the history
  • Loading branch information
Middledot committed Jan 19, 2022
1 parent 435c30d commit fd5b1b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discord/scheduled_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ def interested(self) -> Optional[int]:

@property
def cover(self) -> Optional[Asset]:
"""Optional[:class:`Asset`]: Returns the scheduled event cover image asset, if available.
"""
"""Optional[:class:`Asset`]: Returns the scheduled event cover image asset, if available."""
if self._cover is None:
return None
return Asset._from_scheduled_event_cover(
Expand Down

0 comments on commit fd5b1b9

Please sign in to comment.