{"id":13615455,"url":"https://github.com/harshil1712/register-slash-command","last_synced_at":"2026-02-22T09:09:59.657Z","repository":{"id":57352407,"uuid":"368302636","full_name":"harshil1712/register-slash-command","owner":"harshil1712","description":"Add Interactions Endpoint URL for your Discord slash command via CLI","archived":false,"fork":false,"pushed_at":"2021-05-27T18:59:42.000Z","size":5,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T05:49:47.665Z","etag":null,"topics":["discord","discord-bot","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/harshil1712.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-17T19:38:35.000Z","updated_at":"2023-05-12T02:11:58.000Z","dependencies_parsed_at":"2022-09-11T20:41:46.619Z","dependency_job_id":null,"html_url":"https://github.com/harshil1712/register-slash-command","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil1712%2Fregister-slash-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil1712%2Fregister-slash-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil1712%2Fregister-slash-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshil1712%2Fregister-slash-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshil1712","download_url":"https://codeload.github.com/harshil1712/register-slash-command/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254455786,"owners_count":22074055,"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":["discord","discord-bot","hacktoberfest"],"created_at":"2024-08-01T20:01:13.927Z","updated_at":"2025-10-27T18:35:12.534Z","avatar_url":"https://github.com/harshil1712.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Register Slash Command\n\nRegister your Discord [slash command](https://discord.com/developers/docs/interactions/slash-commands) with this interactive CLI.\n\n## Getting Started 🚀\n\n### Prerequisites\n\n- This CLI tool is built with Node.js. [Install Node.js](https://nodejs.org) to get started\n- A [Discord application](https://discord.com/developers/applications) with the **applications.command** scope.\n\n### Execute\n\nRun the following command:\n\n```sh\nnpx register-slash-command\n```\n\nOr install the package globally:\n\n```sh\nnpm install -g register-slash-command\n\n// or\n\nyarn global add register-slash-command\n```\n\nYou will be prompted to:\n\n1. Select the scope for the slash command\n\t- Guild: The command will only be available within the guild that you specified\n\t- Global: The command will be available on all your app's guilds\n\n2. Enter a name for the slash command\n\t- Make sure it starts with a lower-case letter and the name doesn't contain any special characters\n\n3. Enter a description for the command\n4. Enter the bot token\n\t- You can get your bot toke from the Discord Developer Portal\n5. Enter the Application ID\n\t- You can get the Application ID from the Discord Developer Portal\n6. Enter the Guild ID\n\t- If you're registering the slash command for a Guild, you will be prompted to enter the Guild ID\n\n## To Do 💡\n\n- [ ] Add functionality that allows user to select an option for Authentication: Bot Token and Client Credentials\n- [ ] Add functionality to allow user to add sub-groups and sub-commands\n- [ ] Add the functionality to delete and update slash commands\n\n## Contribute ✨\n\nRefer to [CONTRIBUTING.md](./CONTRIBUTING.md) to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshil1712%2Fregister-slash-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshil1712%2Fregister-slash-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshil1712%2Fregister-slash-command/lists"}