Browse Source

Rename error type for `X.fetch_channel(s)`.

pull/2218/head
NCPlayz 6 years ago
committed by Rapptz
parent
commit
dfcf9cdb0a
  1. 2
      discord/client.py
  2. 2
      discord/guild.py

2
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.

2
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.

Loading…
Cancel
Save