Skip to content

Commit 9d75ad0

Browse files
committed
fix: incorrect defer state for context menu
1 parent 37914c6 commit 9d75ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/internal/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ async def defer(self, *, ephemeral: bool = False, edit_origin: bool = False) ->
598598
raise RuntimeError("Interaction has already been responded to.")
599599

600600
payload = {
601-
"type": CallbackType.DEFERRED_UPDATE_MESSAGE if not edit_origin else CallbackType.DEFERRED_UPDATE_MESSAGE
601+
"type": CallbackType.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE if not edit_origin else CallbackType.DEFERRED_UPDATE_MESSAGE
602602
}
603603
if ephemeral:
604604
if edit_origin:

0 commit comments

Comments
 (0)