Bot Interaction Links
(I don't know if this was suggested before, but I am having trouble finding an existing one, so please tell me if this was already suggested)
Only really relevant to Discord Bot Development.
What if we could, in some way, like markdown, create our own "button links" that would run an Interaction event? Similar to how Buttons work, except they can be placed inside of the actual embed.
This is to replace the idea of having customizable embeds so that we can still have buttons in embeds without altering the structure of the embed.
This is not an embed change, it's a Rich Text / Markdown change.
Example Usages:
- An RPG bot could use these links to reference different "items", so pressing on a link makes the bot send a new message which shows information about the item you just pressed. (Quality change)
- A dictionary bot that can cross-reference terms which you can lookup by pressing text that's marked as a link. (Quality change)
- Multiple in-line voting menus that are not thrown below the embed. (Design only)
- Chess bot. This is actually a big example. You can only have 25 buttons maximum, so you'd have a 5x5 chess, or you need to parse strings, which is not user-friendly. UNLESS you make each emote in the board interactive. (High Quality change)
- and more...
Functionally Possible?
I would avoid using a URL protocol. I know Discord already uses Discord://, but it would be a really big link and is not really suited for in-client events. The idea would be to possibly have some Bot-unique markdown (such as bot-exclusive link markdown).
I don't know the format that would be the best for this, but, in my opinion, you should be able to pass your own data through it too (at least one value to track which link was pressed out of the several there).
This idea is only really a change in the Rich Text renderer and adding a new event. So Embeds are safe to run on Mobile.
Log ind for at efterlade en kommentar.
Kommentarer
0 kommentarer