diff options
| author | Rapptz <[email protected]> | 2019-06-04 19:06:31 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-04 19:06:31 -0400 |
| commit | fcf02414febfeffb11b798bb1ffa2bb4e27b0026 (patch) | |
| tree | 1db7bddae00e14290e5d051303e57f9f623bbce6 /discord/guild.py | |
| parent | Add support for animated guild icons. (diff) | |
| download | discord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.tar.xz discord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.zip | |
Fix stray colon in Asset related docstrings
Diffstat (limited to 'discord/guild.py')
| -rw-r--r-- | discord/guild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/guild.py b/discord/guild.py index c98cce2d..ae7140fa 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -500,7 +500,7 @@ class Guild(Hashable): return self.banner_url_as() def banner_url_as(self, *, format='webp', size=2048): - """Returns a :class:`Asset`: for the guild's banner. + """Returns a :class:`Asset` for the guild's banner. The format must be one of 'webp', 'jpeg', or 'png'. The size must be a power of 2 between 16 and 4096. @@ -530,7 +530,7 @@ class Guild(Hashable): return self.splash_url_as() def splash_url_as(self, *, format='webp', size=2048): - """Returns a :class:`Asset`: for the guild's invite splash. + """Returns a :class:`Asset` for the guild's invite splash. The format must be one of 'webp', 'jpeg', 'jpg', or 'png'. The size must be a power of 2 between 16 and 4096. |