{"id":16621252,"url":"https://github.com/saiteja-madha/djs-slash-handler","last_synced_at":"2026-04-24T23:31:47.808Z","repository":{"id":58044615,"uuid":"529750685","full_name":"saiteja-madha/djs-slash-handler","owner":"saiteja-madha","description":"📦 Command handler for discord.js v14 subcommands and subcommand groups","archived":false,"fork":false,"pushed_at":"2022-11-17T21:44:00.000Z","size":40,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T23:12:31.013Z","etag":null,"topics":["command-handler-v14","discord","discord-js-handler-v14","discord-js-template","discord-js-v14","discord-subcommands","subcommands"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/djs-slash-handler","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saiteja-madha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-28T03:17:58.000Z","updated_at":"2024-03-05T14:59:53.000Z","dependencies_parsed_at":"2023-01-22T16:00:44.074Z","dependency_job_id":null,"html_url":"https://github.com/saiteja-madha/djs-slash-handler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiteja-madha%2Fdjs-slash-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiteja-madha%2Fdjs-slash-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiteja-madha%2Fdjs-slash-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiteja-madha%2Fdjs-slash-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saiteja-madha","download_url":"https://codeload.github.com/saiteja-madha/djs-slash-handler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238900026,"owners_count":19549431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-handler-v14","discord","discord-js-handler-v14","discord-js-template","discord-js-v14","discord-subcommands","subcommands"],"created_at":"2024-10-12T02:46:45.643Z","updated_at":"2026-04-24T23:31:42.787Z","avatar_url":"https://github.com/saiteja-madha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nCommand handler for discord.js v14 subcommands and subcommand groups.\nIt will use the file structure to create the corresponding subcommands and subcommand groups.\n\n## Installation\n\n```bash\nnpm install djs-slash-handler\n```\n\n## Working\n\nBelow is an example of how command handler interprets the file structure. The folder/file names are the names of the subcommands/subcommand groups.\n\n```\ncommands\n    |\n    |__ category1\n        |\n        |__ command1.js\n        |\n        |__ command2.js\n    |\n    |__ category2\n        |\n        |__ command3\n            |__ subcommand1.js\n            |__ subcommand2.js\n        |\n        |__ command4\n            |__ subcommandgroup\n                |__ subcommand1.js\n                |__ subcommand2.js\n            |__ subcommand1.js\n            |__ subcommand2.js\n```\n\nRefer to the [discord developer documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups) for more information on valid/invalid structure\n\n## Additional Info\n\n-   This is a quick \u0026 dirty implementation of the command handler\n-   Additional features/documentation will be added in the future\n-   Feel free to contribute to this project and open an issue if you find any bugs\n-   For more information on how to use the command handler, join us on discord [here](https://discord.gg/BZFH4RSf2u)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiteja-madha%2Fdjs-slash-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaiteja-madha%2Fdjs-slash-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiteja-madha%2Fdjs-slash-handler/lists"}