mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Use InteractionMetadata for InteractionResponse.edit_message
This commit is contained in:
parent
2248fc1946
commit
64e743af50
@ -949,7 +949,7 @@ class InteractionResponse(Generic[ClientT]):
|
||||
message_id = msg.id
|
||||
# If this was invoked via an application command then we can use its original interaction ID
|
||||
# Since this is used as a cache key for view updates
|
||||
original_interaction_id = msg.interaction.id if msg.interaction is not None else None
|
||||
original_interaction_id = msg.interaction_metadata.id if msg.interaction_metadata is not None else None
|
||||
else:
|
||||
message_id = None
|
||||
original_interaction_id = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user