{"id":27326551,"url":"https://github.com/acdvs/discord-bot-template","last_synced_at":"2025-04-12T11:58:48.919Z","repository":{"id":221591419,"uuid":"754825938","full_name":"acdvs/discord-bot-template","owner":"acdvs","description":"A template for basic Discord bots that respond to slash commands.","archived":false,"fork":false,"pushed_at":"2024-02-08T21:05:57.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T04:21:59.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/acdvs.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-08T20:47:21.000Z","updated_at":"2024-02-08T21:07:52.000Z","dependencies_parsed_at":"2024-02-08T22:39:03.560Z","dependency_job_id":"f5306474-efac-499e-a4c4-650e96e6201d","html_url":"https://github.com/acdvs/discord-bot-template","commit_stats":null,"previous_names":["acdvs/discord-bot-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdvs%2Fdiscord-bot-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdvs%2Fdiscord-bot-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdvs%2Fdiscord-bot-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdvs%2Fdiscord-bot-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acdvs","download_url":"https://codeload.github.com/acdvs/discord-bot-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565085,"owners_count":21125415,"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":[],"created_at":"2025-04-12T11:58:48.392Z","updated_at":"2025-04-12T11:58:48.905Z","avatar_url":"https://github.com/acdvs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### A template for basic Discord bots that respond to slash commands.\n\n## Setup\n\n1. Create a `.env` file at the root with the following contents:\n\n   ```bash\n   BOT_TOKEN=abc\n   DEV_GUILD_ID=123\n   ```\n\n   where `BOT_TOKEN` is your bot's Discord token and `DEV_GUILD_ID` is the ID of the Discord guild you'll test in locally.\n\n2. Fill out/replace placeholder values in `src/index.ts` and the sample command in `src/commands/ping.ts`.\n\n## Features\n\n- On startup, the bot will automatically push all commands to the servers it's in.\n- The `createBasicEmbed` function from `src/util/helpers.ts` will generate a simple colored embed for replies. Just pass in the embed body text.\n- Use the `msg`, `warn`, and `error` functions from `src/util/logger.ts` for nicer console logging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdvs%2Fdiscord-bot-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facdvs%2Fdiscord-bot-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdvs%2Fdiscord-bot-template/lists"}