aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-09-15 09:54:00 -0400
committerRapptz <[email protected]>2018-09-15 09:54:00 -0400
commit5c24e69cf26c1cc3042f77b5384fd317b50e82c9 (patch)
treeb5b8a0de427dd1613e7cd61a1825ab173524e380 /discord/channel.py
parentAdd support for Discord's slow mode. (diff)
downloaddiscord.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.py4
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