It'd be good to have a bot command to list the available platforms (at least while theres no platform autodetection).
Perhaps something /tldr-platforms. Octokit might be able to handle that using repos.getContent. It's basically a matter of listing the folders on tldr-pages/tldr/pages/*
This too is something that should be cached, maybe even more than the current 3600 seconds for tldr pages.
It'd be good to have a bot command to list the available platforms (at least while theres no platform autodetection).
Perhaps something
/tldr-platforms
. Octokit might be able to handle that usingrepos.getContent
. It's basically a matter of listing the folders ontldr-pages/tldr/pages/*
This too is something that should be cached, maybe even more than the current 3600 seconds for tldr pages.