Current code for dpy and py docs was copy pasted from Raptz bot.
It is unnecessaraly complicated.
Sphinx generated projects have search page and both Python and dpy docs have it.
Example:
https://docs.python.org/3/search.html?q=range
https://discordpy.readthedocs.io/en/latest/search.html?q=client
So maybe use that, will probably make the code more simpler. Maybe add a new API client dealing with this to /bot/api_client.py.
Current code for dpy and py docs was copy pasted from Raptz bot.
It is unnecessaraly complicated.
Sphinx generated projects have search page and both Python and dpy docs have it.
Example:
https://docs.python.org/3/search.html?q=rangehttps://discordpy.readthedocs.io/en/latest/search.html?q=clientSo maybe use that, will probably make the code more simpler. Maybe add a new API client dealing with this to
/bot/api_client.py.