mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix various code around Message.interaction(_metadata)
This commit is contained in:
@ -667,8 +667,8 @@ class ViewStore:
|
||||
msg = interaction.message
|
||||
if msg is not None:
|
||||
message_id = msg.id
|
||||
if msg.interaction:
|
||||
interaction_id = msg.interaction.id
|
||||
if msg.interaction_metadata:
|
||||
interaction_id = msg.interaction_metadata.id
|
||||
|
||||
key = (component_type, custom_id)
|
||||
|
||||
|
Reference in New Issue
Block a user