diff options
| author | Rapptz <[email protected]> | 2018-09-15 09:54:00 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-09-15 09:54:00 -0400 |
| commit | 5c24e69cf26c1cc3042f77b5384fd317b50e82c9 (patch) | |
| tree | b5b8a0de427dd1613e7cd61a1825ab173524e380 /discord/channel.py | |
| parent | Add support for Discord's slow mode. (diff) | |
| download | discord.py-5c24e69cf26c1cc3042f77b5384fd317b50e82c9.tar.xz discord.py-5c24e69cf26c1cc3042f77b5384fd317b50e82c9.zip | |
Fix up the Sphinx strings causing warnings.
Diffstat (limited to 'discord/channel.py')
| -rw-r--r-- | discord/channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/channel.py b/discord/channel.py index 32faf983..30e2369c 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -363,7 +363,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): name: str The webhook's name. avatar: Optional[bytes] - A *bytes-like* object representing the webhook's default avatar. + A :term:`py:bytes-like object` representing the webhook's default avatar. This operates similarly to :meth:`~ClientUser.edit`. Raises @@ -877,7 +877,7 @@ class GroupChannel(discord.abc.Messageable, Hashable): The new name to change the group to. Could be ``None`` to remove the name. icon: Optional[bytes] - A bytes-like object representing the new icon. + A :term:`py:bytes-like object` representing the new icon. Could be ``None`` to remove the icon. Raises |