From 25d87bd390dc90eaad89ba2bec092d0ff1462e51 Mon Sep 17 00:00:00 2001 From: plun1331 <49261529+plun1331@users.noreply.github.com> Date: Sat, 22 Oct 2022 00:10:05 -0700 Subject: [PATCH] fix: #1674 (#1719) --- discord/abc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index ce0806bbab..eddd974d92 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -1545,7 +1545,7 @@ async def send( message_reference=reference, stickers=stickers, components=components, - flags=flags, + flags=flags.value, ) finally: file.close() @@ -1571,7 +1571,7 @@ async def send( message_reference=reference, stickers=stickers, components=components, - flags=flags, + flags=flags.value, ) finally: for f in files: @@ -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)