Skip to content

Commit ec2c534

Browse files
authored
Fixed bugs
channel.id -> self.channel.id
1 parent 2018026 commit ec2c534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ async def edit(
13231323

13241324
try:
13251325
data = await self._state.http.edit_files(
1326-
channel.id,
1326+
self.channel.id,
13271327
self.id,
13281328
files=[file],
13291329
attachments=attachments,
@@ -1345,7 +1345,7 @@ async def edit(
13451345

13461346
try:
13471347
data = await self._state.http.edit_files(
1348-
channel.id,
1348+
self.channel.id,
13491349
self.id,
13501350
files=files,
13511351
attachments=attachments,

0 commit comments

Comments
 (0)