bot
bot copied to clipboard
Add an optional argument for the resources command
This could be useful when someone asks for Python videos, someone could then proceed to type !resources watch or !resources videos and the Python bot would link the Watch part of the resources page. It's a small change but it could save a step.

I think another way of doing it would be so that individual resources could also be passed, for example someone could invoke the command like !resources realpython and if realpython is not one of the 8 sections on the resources page (watch, podcasts, try, etc) it would attempt to get the closest match (which is realpython.com in the Communities section)
I put this currently to stalled and planning status. We can currently discuss, is this good feature and worth implementing, but until Dewikification project is done, nothing can be actually done. Currently resources is stored in HTML article and there is not way to fetch these without writing complex HTML parsers. After Dewikification is done, we are able to build simple API for such data.
~~This feature is now implemented by:~~
- #2117
- For: #2079
~~I believe this issue can be closed.~~
My bad, this issue suggests implementing the type filter whereas we currently support only topics.