Clickable Emojis?
Adding the ability to tell a bot what emoji a user has clicked in a bot message would allow for some really interesting UI possibilities for discord bots, You can in some places see people being clever with react emojis, but this would make it possible to have much more in depth user interfaces embedded right in a message, and since emojis are rendered more or less the same on desktop and mobile, it would automatically be cross platform. All you would need to do is add some way for the API to tell that an emoji has been clicked
Possible implementation might look like:
message.emoji.response.index
This might return the specific index of the clicked emoji, allowing for multiple uses of the same emoji, saving on slots
message.emoji.response.id
This might return a specific ID of an emoji, allowing for something like a global response to a predesignated emoji ID (for example a ? button might always return the same response)
-
I made some graphics to put together a very simple example of what a bot UI might look like

The real thing would likely be much better if someone spends more than an hour working on it ;)0
Accedi per aggiungere un commento.
Commenti
1 commento