Skip to content

Commit 2a322cb

Browse files
committed
Merge branch 'master' of https://github.com/GodusOV/pycord into pr/417
2 parents 8ba816d + dd0a0d0 commit 2a322cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

discord/message.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,8 +1267,9 @@ async def edit(
12671267
Tried to suppress a message without permissions or
12681268
edited a message's content or embed that isn't yours.
12691269
~discord.InvalidArgument
1270-
You specified both ``embed`` and ``embeds`` or
1271-
specified both ``file`` and ``files``.
1270+
You specified both ``embed`` and ``embeds``,
1271+
specified both ``file`` and ``files``, or either``file``
1272+
or ``files`` were of the wrong type.
12721273
"""
12731274

12741275
payload: Dict[str, Any] = {}

0 commit comments

Comments
 (0)