{"id":22726071,"url":"https://github.com/lucasromerodb/discord-bot-starter-template-nodejs","last_synced_at":"2026-04-09T20:51:08.484Z","repository":{"id":78912856,"uuid":"287993539","full_name":"lucasromerodb/discord-bot-starter-template-nodejs","owner":"lucasromerodb","description":"Discord bot starter template","archived":false,"fork":false,"pushed_at":"2020-08-16T19:12:51.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:52:06.164Z","etag":null,"topics":["bot","discord","javascript","nodejs","starter","template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasromerodb.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,"publiccode":null,"codemeta":null}},"created_at":"2020-08-16T17:38:44.000Z","updated_at":"2023-03-09T03:26:44.000Z","dependencies_parsed_at":"2023-06-26T07:30:38.370Z","dependency_job_id":null,"html_url":"https://github.com/lucasromerodb/discord-bot-starter-template-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasromerodb%2Fdiscord-bot-starter-template-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasromerodb%2Fdiscord-bot-starter-template-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasromerodb%2Fdiscord-bot-starter-template-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasromerodb%2Fdiscord-bot-starter-template-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasromerodb","download_url":"https://codeload.github.com/lucasromerodb/discord-bot-starter-template-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258862,"owners_count":20748573,"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","javascript","nodejs","starter","template"],"created_at":"2024-12-10T16:15:41.689Z","updated_at":"2025-10-30T07:06:12.558Z","avatar_url":"https://github.com/lucasromerodb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord bot starter template (NodeJS)\n\n## Pre-requisites\n\n- [Node 12 or newer](https://nodejs.org/en/) (LTS recommended)\n- [VS Code](https://code.visualstudio.com/download) (or similar)\n- [Discord Server](https://support.discord.com/hc/en-us/articles/204849977-How-do-I-create-a-server-)\n\n## Quick start\n\n\u003e Go to Discord Apps Dashboard to create your new application or bot: https://discord.com/developers/applications/\n\n1.  Create a `New Application`\n2.  Setup an app name and click on `Create`\n3.  Go to `Bot` settings and add a new one (here you can find the `bot token`)\n4.  Go to `OAuth2` set the stope to `bot`\n5.  Set the bot permissions to `Administrator`\n6.  Copy the scope invitation link and paste on a new tab. Then invite the bot to your server\n\n## Before starting the project\n\nRun the following command:\n\n```sh\nnpm init # to setup your package\nnpm i discord.js # to install a Discord package and interact with their API\ncp config.mock.json config.json # to setup the your private bot token\n```\n\nThen update the `BOT_TOKEN` with your real one in the `config.js` file.\n\n```json\n{\n  \"BOT_TOKEN\": \"YOUR_BOT_TOKEN_HERE\"\n}\n```\n\n\u003e You can reveal your private bot token in the `Bot` dashboard settings\n\n## Run your project\n\n```sh\nnode index.js\n```\n\n\u003e Now you can see your bot online on your Discord server\n\n---\n\n#### Discord JS\n\n* GitHub: https://github.com/discordjs/discord.js\n* Docs: https://discord.js.org/#/docs/main/stable/general/welcome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasromerodb%2Fdiscord-bot-starter-template-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasromerodb%2Fdiscord-bot-starter-template-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasromerodb%2Fdiscord-bot-starter-template-nodejs/lists"}