Interactive Interface for Bots
As you all know, currently bots can't do live interaction with the users. The best this is handled by developers is by reactions, but even reactions have their limits: 1) They're not designed that way, adding reactions requires multiple requests towards Discord API. It gets worse if reactions need to be updated. 2) They can't carry much info, and certainly confusing for users to use.
My suggestion is to create a special URI that is handled by Discord clients for sending messages on behalf of the user. No API changes are needed. It works like this: Bots add links in their embed messages which includes the special URI, for example: `[Next](discord://next)`. After a user clicks this, the client sends a message in the same channel, mentioning the bot with the text in the URI. For example: `@Bot#0000 next` The mentioning part is important because it avoids abusing it by making requests to another bot.
Bonus: An additional URI that DMs the bot with the URI content instead of sending it in the same channel, without switching chats. This helps keep channels free of bot messages, and interactions happening in private.
Having this feature will make it easier for users to interact with Discord bots and make Discord more enjoyable for everyone!
22
-
Instead of sending messages, better send buttonClicked event
1
Please sign in to leave a comment.
Comments
1 comment