diff options
| author | Vexs <[email protected]> | 2019-05-14 16:51:50 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-05-14 19:13:48 -0400 |
| commit | bf5b267c5586a59b16ae8af0038cb628667333d5 (patch) | |
| tree | c7d88281a339b0d614791f3fa9b78a04508923a8 /discord/invite.py | |
| parent | Added note to Emoji.user (diff) | |
| download | discord.py-bf5b267c5586a59b16ae8af0038cb628667333d5.tar.xz discord.py-bf5b267c5586a59b16ae8af0038cb628667333d5.zip | |
Correct the documentation for methods and properties that return Assets
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/invite.py b/discord/invite.py index d378c3d7..ae87ee64 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -151,7 +151,7 @@ class PartialInviteGuild: @property def icon_url(self): - """Returns the URL version of the guild's icon. Returns an empty string if it has no icon.""" + """:class:`Asset`: Returns the guild's icon asset.""" return self.icon_url_as() def icon_url_as(self, *, format='webp', size=1024): @@ -160,7 +160,7 @@ class PartialInviteGuild: @property def banner_url(self): - """Returns the URL version of the guild's banner. Returns an empty string if it has no banner.""" + """:class:`Asset`: Returns the guild's banner asset.""" return self.banner_url_as() def banner_url_as(self, *, format='webp', size=2048): @@ -169,7 +169,7 @@ class PartialInviteGuild: @property def splash_url(self): - """Returns the URL version of the guild's invite splash. Returns an empty string if it has no splash.""" + """:class:`Asset`: Returns the guild's invite splash asset.""" return self.splash_url_as() def splash_url_as(self, *, format='webp', size=2048): |