Skip to content

Commit

Permalink
add missing description for to_dpy return values
Browse files Browse the repository at this point in the history
  • Loading branch information
nwunderly committed Dec 1, 2021
1 parent 525da6a commit 6daac37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starlette_discord/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ async def to_dpy(self, client):
Returns
-------
:class:`discord.User`
The discord.py User object, if it could be found.
"""
user = client.get_user(self.id)
if not user:
Expand Down Expand Up @@ -246,6 +247,7 @@ async def to_dpy(self, client):
Returns
-------
:class:`discord.Guild`
The discord.py Guild object, if the guild could be found.
"""
guild = client.get_guild(self.id)
if not guild:
Expand Down

0 comments on commit 6daac37

Please sign in to comment.