Change wording of InvalidArgument removal in docs

This commit is contained in:
chromacoat dreamkey
2022-03-12 12:25:43 +08:00
committed by GitHub
parent 124a3ee42a
commit 095aaa9ad1
14 changed files with 84 additions and 84 deletions

View File

@ -388,8 +388,8 @@ class SyncWebhookMessage(Message):
"""Edits the message.
.. 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
------------