From fa5c004af037d2a2ca4932342cb96a694119afa1 Mon Sep 17 00:00:00 2001 From: plun1331 <49261529+plun1331@users.noreply.github.com> Date: Fri, 21 Oct 2022 21:58:21 -0700 Subject: [PATCH] fix: #1674 --- 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)