mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-03 14:02:19 +00:00
Change wording of InvalidArgument removal in docs
This commit is contained in:
committed by
GitHub
parent
124a3ee42a
commit
095aaa9ad1
@@ -1125,8 +1125,8 @@ class Client:
|
||||
Removed the ``afk`` keyword-only parameter.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
:exc:`TypeError`.
|
||||
This function will now raise :exc:`TypeError` instead of
|
||||
``InvalidArgument``.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -1369,8 +1369,8 @@ class Client:
|
||||
``name`` and ``icon`` parameters are now keyword-only. The `region`` parameter has been removed.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
:exc:`ValueError`.
|
||||
This function will now raise :exc:`ValueError` instead of
|
||||
``InvalidArgument``.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user