We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2c534 commit c59555cCopy full SHA for c59555c
discord/message.py
@@ -1326,13 +1326,7 @@ async def edit(
1326
self.channel.id,
1327
self.id,
1328
files=[file],
1329
- attachments=attachments,
1330
- suppress=suppress,
1331
- allowed_mentions=allowed_mentions,
1332
- content=content,
1333
- embed=embed,
1334
- embeds=embeds,
1335
- components=components,
+ **payload,
1336
)
1337
finally:
1338
file.close()
@@ -1348,13 +1342,7 @@ async def edit(
1348
1342
1349
1343
1350
1344
files=files,
1351
1352
1353
1354
1355
1356
1357
1345
1358
1346
1359
1347
1360
for f in files:
0 commit comments