"Selected text" as an optionally sent field for context menu commands #3641
Unanswered
Ernest314
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.
-
If the user has highlighted a section of text and used a context menu command on it, having that information exposed to the bot could be useful. My current use case is for a database-search bot, and it would be very natural (and obviate the need for message intents) if a user could simply highlight a search term in somebody's post, and ask the bot to run a query on that.
This seems like a natural functionality to give to context menus, and it mirrors how context menus traditionally work across other applications.
Beta Was this translation helpful? Give feedback.
All reactions