From 6daac370583100e451505557bfd9dea1ab60334f Mon Sep 17 00:00:00 2001 From: nwunderly <48489521+nwunderly@users.noreply.github.com> Date: Wed, 1 Dec 2021 01:53:00 -0500 Subject: [PATCH] add missing description for to_dpy return values --- starlette_discord/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/starlette_discord/models.py b/starlette_discord/models.py index c975b52..bf9f614 100644 --- a/starlette_discord/models.py +++ b/starlette_discord/models.py @@ -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: @@ -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: