Browse Source

Fix incorrect wording in Message.edit docstring

'role' -> 'message'
pull/7565/head
m-etroo 3 years ago
committed by GitHub
parent
commit
e3de172ba9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/message.py

2
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

Loading…
Cancel
Save