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 754338a commit 2018026Copy full SHA for 2018026
discord/message.py
@@ -1322,7 +1322,7 @@ async def edit(
1322
raise InvalidArgument('file parameter must be File')
1323
1324
try:
1325
- data = await state.http.edit_files(
+ data = await self._state.http.edit_files(
1326
channel.id,
1327
self.id,
1328
files=[file],
@@ -1344,7 +1344,7 @@ async def edit(
1344
raise InvalidArgument('files parameter must be a list of File')
1345
1346
1347
1348
1349
1350
files=files,
0 commit comments