aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.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/guild.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/guild.py')
-rw-r--r--discord/guild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 2661e3c8..2ea56d05 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -1130,7 +1130,7 @@ class Guild(Hashable):
Raises
-------
- TypeError
+ InvalidData
An unknown channel type was received from Discord.
HTTPException
Retrieving the channels failed.