Rename error type for X.fetch_channel(s).

This commit is contained in:
NCPlayz 2019-06-11 20:15:55 +01:00 committed by Rapptz
parent 34b93c757c
commit dfcf9cdb0a
2 changed files with 2 additions and 2 deletions

View File

@ -1211,7 +1211,7 @@ class Client:
Raises Raises
------- -------
TypeError :exc:`.InvalidData`
An unknown channel type was received from Discord. An unknown channel type was received from Discord.
:exc:`.HTTPException` :exc:`.HTTPException`
Retrieving the channel failed. Retrieving the channel failed.

View File

@ -1130,7 +1130,7 @@ class Guild(Hashable):
Raises Raises
------- -------
TypeError InvalidData
An unknown channel type was received from Discord. An unknown channel type was received from Discord.
HTTPException HTTPException
Retrieving the channels failed. Retrieving the channels failed.