Skip to content

Commit

Permalink
fix: #1674
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 committed Oct 22, 2022
1 parent 982c476 commit fa5c004
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discord/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ async def send(
message_reference=reference,
stickers=stickers,
components=components,
flags=flags,
flags=flags.value,
)
finally:
file.close()
Expand All @@ -1571,7 +1571,7 @@ async def send(
message_reference=reference,
stickers=stickers,
components=components,
flags=flags,
flags=flags.value,
)
finally:
for f in files:
Expand All @@ -1588,7 +1588,7 @@ async def send(
message_reference=reference,
stickers=stickers,
components=components,
flags=flags,
flags=flags.value,
)

ret = state.create_message(channel=channel, data=data)
Expand Down

0 comments on commit fa5c004

Please sign in to comment.