Browse Source
Fix incorrect wording in Message.edit docstring
'role' -> 'message'
pull/7565/head
m-etroo
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
discord/message.py
|
|
@ -1220,7 +1220,7 @@ class Message(Hashable): |
|
|
|
The ``suppress`` keyword-only parameter was added. |
|
|
|
|
|
|
|
.. versionchanged:: 2.0 |
|
|
|
Edits are no longer in-place, the newly edited role is returned instead. |
|
|
|
Edits are no longer in-place, the newly edited message is returned instead. |
|
|
|
|
|
|
|
.. versionchanged:: 2.0 |
|
|
|
This function no-longer raises ``InvalidArgument`` instead raising |
|
|
|