{"id":16118417,"url":"https://github.com/thekicker/node-discord-bot","last_synced_at":"2025-06-30T00:34:01.157Z","repository":{"id":100647897,"uuid":"528862261","full_name":"TheKicker/NODE-Discord-bot","owner":"TheKicker","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-16T21:31:32.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T11:39:19.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TheKicker.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-25T13:25:38.000Z","updated_at":"2022-08-25T14:05:30.000Z","dependencies_parsed_at":"2023-05-16T13:00:18.307Z","dependency_job_id":null,"html_url":"https://github.com/TheKicker/NODE-Discord-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheKicker/NODE-Discord-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKicker%2FNODE-Discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKicker%2FNODE-Discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKicker%2FNODE-Discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKicker%2FNODE-Discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheKicker","download_url":"https://codeload.github.com/TheKicker/NODE-Discord-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheKicker%2FNODE-Discord-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262689720,"owners_count":23349136,"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":"2024-10-09T20:49:28.991Z","updated_at":"2025-06-30T00:34:01.144Z","avatar_url":"https://github.com/TheKicker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Bot - Node JS Tutorial\n\nTraversy Media - \u003ca href=\"https://www.youtube.com/watch?v=BmKXBVdEV0g\"\u003ehttps://www.youtube.com/watch?v=BmKXBVdEV0g\u003c/a\u003e\n\n## Getting Started\n\n1. Create your bot on Discord's Developer Portal\n    - New Application (Give it a name)\n    - Bot tab, generate a Token (Store in .env file)\n    - OAuth tab, copy client id\n    - Visit:  https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID\u0026scope=bot\n    - Add it to your server\n\n2. Create a script to actually log the bot in\n\n## Links\n\nDiscord:\n```\nhttps://discord.com/\n```\n\nDiscord Developer Portal:\n```\nhttps://discord.com/developers/applications\n```\n\nDiscord.js Documentation\n```\nhttps://discord.js.org/#/\n```\n\n## Bugs\n\nCLIENT_MISSING_INTENTS\n    - Fix (\u003ca href=\"https://stackoverflow.com/questions/68694195/how-do-i-fix-client-missing-intents-error\"\u003elink\u003c/a\u003e) is to add GatewayIntentBits to several lines\n\n```\nconst { Client, GatewayIntentBits } = require('discord.js')\nconst sigma = new Client({ intents: [GatewayIntentBits.Guilds] });\n```\n\nMessage.content is empty but everything else is there \n    - Fix (\u003ca href=\"https://stackoverflow.com/questions/73036854/message-content-doesnt-have-any-value-in-discord-js-v14\"\u003elink\u003c/a\u003e) is to add GatewayIntentBits.MessageContent\n    \n```\n'intents': [\n    GatewayIntentBits.DirectMessages,\n    GatewayIntentBits.Guilds,\n    GatewayIntentBits.GuildBans,\n    GatewayIntentBits.GuildMessages\n  ]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekicker%2Fnode-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthekicker%2Fnode-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekicker%2Fnode-discord-bot/lists"}