Add slash command parameters to the Message Interaction Object #3984
Unanswered
Stalruth
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At present, Message Components can be used to allow users to engage with a bot's message beyond the simple query-response with Slash Commands. To facilitate the preservation of state these are allowed a
custom_id
which can be assigned and used to the bot's needs (within thecustom_id
's 100 character limit).However these Components are lacking in one key area - if the message they are on was created via an Interaction, there's no way to retrieve the parameters the Interaction was called with. This forces developers to waste precious space in the
custom_id
to preserve parameters that are already present, just inaccessible.My hope is that the parameters of the Interaction that created the message are added to the Message Interaction Object, so that developers no longer have to store and parse redundant information in the
custom_id
.Beta Was this translation helpful? Give feedback.
All reactions