mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-23 00:42:56 +00:00
Change wording of InvalidArgument removal in docs
This commit is contained in:
committed by
GitHub
parent
124a3ee42a
commit
095aaa9ad1
@@ -752,8 +752,8 @@ class GuildChannel:
|
||||
await channel.set_permissions(member, overwrite=overwrite)
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
:exc:`TypeError`.
|
||||
This function will now raise :exc:`TypeError` instead of
|
||||
``InvalidArgument``.
|
||||
|
||||
|
||||
Parameters
|
||||
@@ -935,8 +935,8 @@ class GuildChannel:
|
||||
.. versionadded:: 1.7
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
:exc:`ValueError` or :exc:`TypeError` in various cases.
|
||||
This function will now raise :exc:`TypeError` or
|
||||
:exc:`ValueError` instead of ``InvalidArgument``.
|
||||
|
||||
Parameters
|
||||
------------
|
||||
@@ -1283,8 +1283,8 @@ class Messageable:
|
||||
**Specifying both parameters will lead to an exception**.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
:exc:`ValueError` or :exc:`TypeError` in various cases.
|
||||
This function will now raise :exc:`TypeError` or
|
||||
:exc:`ValueError` instead of ``InvalidArgument``.
|
||||
|
||||
Parameters
|
||||
------------
|
||||
|
Reference in New Issue
Block a user