Skip to content

Commit

Permalink
fix: #1674 (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 authored Oct 22, 2022
1 parent 982c476 commit 25d87bd
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 25d87bd

Please sign in to comment.