{"id":22852421,"url":"https://github.com/george-silviu/node-discord-bot","last_synced_at":"2026-05-07T11:33:53.125Z","repository":{"id":264023566,"uuid":"891981817","full_name":"george-silviu/node-discord-bot","owner":"george-silviu","description":"Multifunctional discord bot","archived":false,"fork":false,"pushed_at":"2024-11-27T12:26:51.000Z","size":7105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T07:09:46.973Z","etag":null,"topics":["3rd-party-api","discord-js","node"],"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/george-silviu.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":"2024-11-21T09:58:31.000Z","updated_at":"2024-11-28T08:46:37.000Z","dependencies_parsed_at":"2025-02-06T11:43:00.386Z","dependency_job_id":null,"html_url":"https://github.com/george-silviu/node-discord-bot","commit_stats":null,"previous_names":["george-silviu/node-discord-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/george-silviu/node-discord-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-silviu%2Fnode-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-silviu%2Fnode-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-silviu%2Fnode-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-silviu%2Fnode-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/george-silviu","download_url":"https://codeload.github.com/george-silviu/node-discord-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-silviu%2Fnode-discord-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["3rd-party-api","discord-js","node"],"created_at":"2024-12-13T06:08:15.775Z","updated_at":"2026-05-07T11:33:53.106Z","avatar_url":"https://github.com/george-silviu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Discord Bot\n\nNode.js Discord bot that can:\n\n- ✅ display the weather forecast;\n- ✅ display the position of sun and moon;\n- ✅ tell jokes;\n- ✅ inspire you with quotes from different categories;\n\n## General overview\n\n![app-schema](/src/assets/app-schema.png)\n\nIn our Node app, the Discord Bot will connect to Discord API using `discord.js` library through WebSocket connection, and will listen for any commands prompted from the Discord UI. The Bot has defined a set of commands that will run each time a user uses a slash command.\n\n## Bot tutorial in Discord Client\n\n🔗[The video tutorial test from Discord client](https://github.com/george-silviu/node-discord-bot/raw/refs/heads/main/src/assets/bot-testing.mp4)\n\n## Steps for setup\n\n1. Be sure you have[Node.js](https://nodejs.org/en) installed.\n2. Open a terminal and run `npm install`.\n3. Create a new [Discord](https://discord.com/) account if you do not have one.\n4. Create a Discord server to test the bot, then find the server/guild ID by turning the developer mode.\n5. Navigate to [Discord Developers page](https://discord.com/developers/applications) and create a new app, then find the application/client ID.\n6. Invite the bot to your server.\n7. Sign up to a free [Weather API](https://www.weatherapi.com/) account and find your API key.\n8. Sign up to a free [API Ninjas](https://api-ninjas.com/) account and find your API key.\n9. Create a `.env` file at the root of the project and insert the data as below.\n\n## Environment variables\n\nPopulate the following values in `.env`:\n\n```\nDISCORD_TOKEN=\nCLIENT_ID=\nGUILD_ID=\nWHEATHER_API_KEY=\nAPI_NINJAS_KEY=\n```\n\n## Running the project\n\n- Production script: `npm start`\n- Development: `npm run dev`\n\n## 📌 Resources\n\n- [Discord.js](https://discord.js.org/)\n- [Discord.js Guide](https://discordjs.guide/)\n- [Discord Developer Portal](https://discord.com/developers/applications)\n- [Weather API](https://www.weatherapi.com/)\n- [API Ninjas](https://api-ninjas.com/)\n\n## 🤔Fun stuff to do next:\n\n- Integrate the bot with AI\n- Integrate bot with a music streaming service\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge-silviu%2Fnode-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorge-silviu%2Fnode-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge-silviu%2Fnode-discord-bot/lists"}