[Project Enhancement] Contextual Definitions #114
Labels
enhancement
Feature Request: Review Later
This is what the Core Programming Team will tag a Feature Request with if they're considering them.
new feature
Testing Viability
This is an enhancement that is being examined for viability/plausibility. (Usually on Dev Branch)
Milestone
Is your feature request related to a problem? Please describe.
#113
Describe the solution you'd like
Instead of just stripping the <xref> tags from the returned definition, why not make use of them? What if the Dictionary plugin reads for those <xref> tags, and when it finds one it remembers it, assigns it an integer, and puts a [<NUM>] tag after the word. Then one could use an additional command to follow up, and ask the bot to define tagged words.
Additional context
I imagine each tagged word, and their assigned index integer could be saved in an array of words and then the bot could just use the array's included index as the reference number (offset +1).
The text was updated successfully, but these errors were encountered: