aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2019-06-11 20:15:55 +0100
committerRapptz <[email protected]>2019-06-12 00:47:42 -0400
commitdfcf9cdb0a389328e6751c2bfc0924932dcb000d (patch)
treec7095415475c7209c67941dc88767c3ac6128894 /discord/client.py
parentdocs: Fix minor typo (diff)
downloaddiscord.py-dfcf9cdb0a389328e6751c2bfc0924932dcb000d.tar.xz
discord.py-dfcf9cdb0a389328e6751c2bfc0924932dcb000d.zip
Rename error type for `X.fetch_channel(s)`.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index faa95fab..b7a77f3d 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1211,7 +1211,7 @@ class Client:
Raises
-------
- TypeError
+ :exc:`.InvalidData`
An unknown channel type was received from Discord.
:exc:`.HTTPException`
Retrieving the channel failed.