New Button Style: Message Command #4893
Unanswered
jagrosh
asked this question in
API Feature Requests & Ideas
Replies: 2 comments
-
I agree. For the average Joe clicking buttons is easier (and it is for me too on a phone for example) than typing commands. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Reposting this from #5190, I did a mock up of what this might look like for a Slash Command. A similar thing could probably be done for message commands. And how it might look in the code, using a new "Command" button style": {
type: 2, // "Button" Component Type
style: 6, // "Command" Button Style (requires fields 'command_id' and 'command_name'),
label: 'Add to List',
command_id: '472091337469007488',
command_name: 'list add',
} |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
This would be fairly straightforward: a button style that corresponds to MESSAGE-type Application Command.
This type of button would:
The reasoning for this feature: Sometimes a bot knows that a user might want to use a certain command on a certain message, but the client doesn't make any differentiation. Many users don't even realize right-click message commands exist (while buttons are very visible). Buttons themselves also don't have any sort of permissions-checking, making them confusing when attempting to offer gated functionality.
Alternatives to this suggestion:
Beta Was this translation helpful? Give feedback.
All reactions