King
Multi-function bot for discord using the official lib discord.js with fun commands and utilities
What XERJ indexed
Snapshot
The whole repository at commit c28710ec1d (2026-10-13). master is 63 commits ahead.
Selected work

“harden dashboard requests”. 10 files, 428 lines in dashboard, tests, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-13. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
discord-jsdiscord-botking-botkingbotdiscordbot-musique-discorddownload-videos
Example questions
- How does King implement discord-js?
- Where does King handle “harden dashboard requests”?
- What does dashboard do in King?
Inside the indexed corpus
- 272 files, 1.6 MB in total, about 6.0 KB per file.
- The selected commit changed 10 of those files (3.7%).
- Languages by size: JavaScript 66%, EJS 22%, CSS 12%.
- On GitHub since 2021-01-26, last push 2026-10-24, 343 commits on master.
- The pin is 63 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for Programador-jr/King on 2026-10-31, and the LICENSE file at commit c28710ec1d was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Daniel (@Programador-jr) has 2 selected repositories on the hub.
Their other repository pages: Programador-jr/kings-newsletter.
Using XERJ with King
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones Programador-jr/King at the pinned commit and indexes it on your machine.
Search the GitHub repository Programador-jr/King with XERJ (https://hub.xerj.org/corpus/programador-jr--king). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/Programador-jr/King King && git -C King checkout c28710ec1d7faf1db3af192d994175fcde10db56 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./King --url http://127.0.0.1:9200 --prefix king --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
DanielAPI design and specification corporajsdomgotxobotyi--cc-foundry-javascriptYahirSlug/ISLALLRHook/linkydansday-com/dansday-discord-bot
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.