{"id":19533843,"url":"https://github.com/srcrow02/discord-bot-v14","last_synced_at":"2025-02-26T03:43:08.096Z","repository":{"id":178995409,"uuid":"587071441","full_name":"SrCrow02/Discord-Bot-V14","owner":"SrCrow02","description":"A Discord bot on API V14","archived":false,"fork":false,"pushed_at":"2024-01-11T17:24:35.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T17:26:45.421Z","etag":null,"topics":["14","api","bot","discord-bot","tamplates","v14-discord-bot-template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SrCrow02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-09T22:19:04.000Z","updated_at":"2024-07-23T14:33:00.000Z","dependencies_parsed_at":"2024-01-11T21:26:08.460Z","dependency_job_id":"344dfcfa-ae17-4dcf-81ab-f4c8acb32599","html_url":"https://github.com/SrCrow02/Discord-Bot-V14","commit_stats":null,"previous_names":["srcrow02/discord-bot-template-v14"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrCrow02%2FDiscord-Bot-V14","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrCrow02%2FDiscord-Bot-V14/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrCrow02%2FDiscord-Bot-V14/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrCrow02%2FDiscord-Bot-V14/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SrCrow02","download_url":"https://codeload.github.com/SrCrow02/Discord-Bot-V14/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788778,"owners_count":19857695,"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":["14","api","bot","discord-bot","tamplates","v14-discord-bot-template"],"created_at":"2024-11-11T02:10:20.585Z","updated_at":"2025-02-26T03:43:08.054Z","avatar_url":"https://github.com/SrCrow02.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Discord Bot\n\nA module-based Discord bot template.\n\n## Getting started\n\n### Register a Discord bot application\n\n1. Go to Discord's [Developer Portal](https://discord.com/developers/applications).\n2. Create a new application.\n\n   \u003e Take note of the `APPLICATION ID` on the General Information tab page. You will need it to invite the bot to your server in step 5.\n\n3. Go to the Bot tab and add a bot user to your application.\n\n   \u003e Take note of the `TOKEN` on the Bot tab page. You will need it in step 3 of the next section.\n\n   \u003e Keep your token and any file containing it **private**. If it ever leaks or you suspect it may have leaked, simply `regenerate` a new token to invalidate your compromised token.\n\n4. While in the Bot tab, scroll down to the Privileged Gateway Intents section and enable the toggles for both `Presence Intent` and `Server Members Intent`. More information on Gateway Intents can be found here:\n\n   - [Gateway Update FAQ](https://support-dev.discord.com/hc/en-us)\n   - [Privileged Intents](https://discord.com/developers/docs/topics/gateway#privileged-intents)\n\n5. Lastly, invite the bot to your server using the following link template: [https://discord.com/oauth2/authorize?scope=bot\u0026client_id=APPLICATION_ID_HERE](https://discord.com/oauth2/authorize?scope=bot\u0026client_id=APPLICATION_ID_HERE)\n\n### Create a Discord bot project\n\n1. Run the following commands to bootstrap a Discord bot project in your working directory:\n\n   \u003e Replace `bot-discord` in the commands below with your own preferred project name!\n\n   ```\n   git clone https://github.com/SrCrow02/Discord-Bot-V14.git\n   ```\n\n   ```\n   cd bot-discord\n   ```\n\n   ```\n   npm i\n   ```\n\n2. in config.json put your Token, Bot id and Server ID:\n\n   ```json\n     {\n       \"prefix\": \"PREFIX\",\n       \"token\": \"BOT_PREFIX\",\n       \n       \"botID\": \"ID_BOT\",\n       \"serverID\": \"ID_SERVER\", \n\n       \"staff\": [\n           \"YOUR_STAFF\"\n       ]\n    }\n   ```\n\n3. Lastly, run the following command to start the bot:\n\n   ```\n   node index.js\n   ```\n\n   Verify the bot is running properly by sending messages in your server. The bot should log these messages in your terminal. If there are any issues, check [Troubleshooting](#troubleshooting).\n\nYou're ready to create your own Discord bot! 🎉\n\n## troubleshooting\n\n- Remove bots in your server that may conflict in functionality, e.g. multiple reaction role bots.\n- Use [Git Bash](https://git-scm.com/downloads) instead of the Command Prompt (cmd.exe) if you are on Windows.\n- Check that your:\n  - `node` version is `=\u003e16.11.0` by running `node -v`.\n  - `npm` version is `\u003e=7.0.0` by running `npm -v`.\n- If running the application outputs:\n  - `Error: Cannot find module '...'`, try running `npm i` in the project directory.\n  - `DiscordAPIError: Missing Permissions`, verify your bot has the correct `Manage` permissions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcrow02%2Fdiscord-bot-v14","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcrow02%2Fdiscord-bot-v14","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcrow02%2Fdiscord-bot-v14/lists"}