Skip to content

Commit

Permalink
docs: fix build warnings (nextcord#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmmaTech committed Aug 16, 2023
1 parent 24dfb72 commit 4383194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nextcord/ui/select/mentionable.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def members(self) -> List[Member]:

@property
def users(self) -> List[User]:
"""List[:class:`.User`]: A list of users that were selected."""
"""List[:class:`nextcord.User`]: A list of users that were selected."""
return [v for v in self.data if isinstance(v, User)]

@property
Expand Down Expand Up @@ -119,7 +119,7 @@ def __init__(

@property
def values(self) -> MentionableSelectValues:
""":class:`.ui.MentionableSelectValues`: A list of Union[:class:`.Member`, :class:`.User`, :class:`.Role`] that have been selected by the user."""
""":class:`.ui.MentionableSelectValues`: A list of Union[:class:`.Member`, :class:`nextcord.User`, :class:`.Role`] that have been selected by the user."""
return self._selected_values

def to_component_dict(self) -> MentionableSelectMenuPayload:
Expand Down
4 changes: 2 additions & 2 deletions nextcord/ui/select/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def members(self) -> List[Member]:

@property
def users(self) -> List[User]:
"""List[:class:`.User`]: A list of users that were selected."""
"""List[:class:`nextcord.User`]: A list of users that were selected."""
return [v for v in self.data if isinstance(v, User)]


Expand Down Expand Up @@ -111,7 +111,7 @@ def __init__(

@property
def values(self) -> UserSelectValues:
""":class:`.ui.UserSelectValues`: A list of Union[:class:`.Member`, :class:`.User`] that have been selected by the user."""
""":class:`.ui.UserSelectValues`: A list of Union[:class:`.Member`, :class:`nextcord.User`] that have been selected by the user."""
return self._selected_values

def to_component_dict(self) -> UserSelectMenuPayload:
Expand Down

0 comments on commit 4383194

Please sign in to comment.