{"id":20597697,"url":"https://github.com/D4isDAVID/discord.js-bot-template","last_synced_at":"2025-05-09T23:32:25.454Z","repository":{"id":158265078,"uuid":"612810003","full_name":"D4isDAVID/discord.js-bot-template","owner":"D4isDAVID","description":"Discord.js bot template with components system","archived":true,"fork":false,"pushed_at":"2025-01-23T17:40:42.000Z","size":208,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T07:33:50.994Z","etag":null,"topics":["bot","discord","discord-bot","discord-bot-template","discord-js","discordjs","nodejs","template","typescript"],"latest_commit_sha":null,"homepage":"","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/D4isDAVID.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"D4isDAVID","ko_fi":"D4isDAVID"}},"created_at":"2023-03-12T03:14:37.000Z","updated_at":"2025-01-23T17:41:16.000Z","dependencies_parsed_at":"2023-12-10T07:21:21.948Z","dependency_job_id":"e0e10109-f656-4bb1-a6e1-5416a2bef5ed","html_url":"https://github.com/D4isDAVID/discord.js-bot-template","commit_stats":null,"previous_names":["d4isdavid/discord.js-bot-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D4isDAVID%2Fdiscord.js-bot-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D4isDAVID%2Fdiscord.js-bot-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D4isDAVID%2Fdiscord.js-bot-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D4isDAVID%2Fdiscord.js-bot-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D4isDAVID","download_url":"https://codeload.github.com/D4isDAVID/discord.js-bot-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253341963,"owners_count":21893546,"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":["bot","discord","discord-bot","discord-bot-template","discord-js","discordjs","nodejs","template","typescript"],"created_at":"2024-11-16T08:23:33.273Z","updated_at":"2025-05-09T23:32:25.121Z","avatar_url":"https://github.com/D4isDAVID.png","language":"TypeScript","funding_links":["https://github.com/sponsors/D4isDAVID","https://ko-fi.com/D4isDAVID"],"categories":[],"sub_categories":[],"readme":"# Discord.js Components Bot\n\nThis is a [discord.js] bot template with a components system.\nIt is written in [TypeScript], and uses [`@discordjs/core`][@discordjs/core].\n\nOut of the box, the template only adds a ping and some example commands.\nDatabase support is also not included by default, and can be manually added.\n\n- [Key Features](#key-features)\n- [Configuration](#configuration)\n- [Scripts](#scripts)\n\n## Key Features\n\n### Components System\n\nTypically when developing Discord bots, we place handlers, events, commands,\ninteractions, etc. into their own respective folders.\n\nThe components system creates a more organized way to store all related\nevents, commands and other interactions in their own folder\n([see components](./src/components/)).\n\n### Interaction Utilities\n\nThe template comes with interaction utilities, allowing you to handle user\ninput with ease ([see example](./src/components/example/modal.ts)).\n\n### Subcommand Utilities\n\nThe template comes with subcommand utilities, allowing you to create commands\nwith subcommands and subcommand groups with ease\n([see example](./src/components/example/commands/subcommands.ts)).\n\n### Stateful Interactions\n\nThe template comes with stateful modals \u0026 message components, allowing you to\nhandle simple state between interactions with ease\n([see example](./src/components/example/stateful/stateful-modal.ts)).\n\n## Configuration\n\n- Make a copy of the [`.env.example`](./.env.example) file\n- Name the new copy `.env`\n- Configure the file\n\n## Scripts\n\n- `npm run lint` - Lint your code with [Prettier]\n- `npm run format` - Format your code with [Prettier]\n- `npm run build` - Build your code with the [TypeScript] compiler\n- `npm run deploy` - Deploy commands to Discord\n- `npm run start` - Start your bot\n\n[discord.js]: https://discord.js.org\n[@discordjs/core]: https://discord.js.org/docs/packages/core/2.0.0\n[prettier]: https://prettier.io\n[typescript]: https://typescriptlang.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FD4isDAVID%2Fdiscord.js-bot-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FD4isDAVID%2Fdiscord.js-bot-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FD4isDAVID%2Fdiscord.js-bot-template/lists"}