{"id":27125069,"url":"https://github.com/just-rich/servcaster","last_synced_at":"2025-10-25T09:36:56.531Z","repository":{"id":286593061,"uuid":"961888806","full_name":"just-rich/servcaster","owner":"just-rich","description":"A simple Discord bot that sends a predefined message into each server it's in.","archived":false,"fork":false,"pushed_at":"2025-04-07T11:41:14.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T21:46:49.585Z","etag":null,"topics":["bot","discord","discord-bot","discord-js","discord-js-bot","discord-message","discord-message-sender","discord-message-sender-bot","discord-msg","discord-msg-sender","discordbot","discordjs","discordjs-bot","nodejs"],"latest_commit_sha":null,"homepage":"https://richw.xyz","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/just-rich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"just-rich","ko_fi":"itsrich","liberapay":"rich","buy_me_a_coffee":"itsrich","custom":"https://paypal.me/punkrockrich"}},"created_at":"2025-04-07T10:21:24.000Z","updated_at":"2025-04-09T12:45:50.000Z","dependencies_parsed_at":"2025-04-07T11:41:23.358Z","dependency_job_id":null,"html_url":"https://github.com/just-rich/servcaster","commit_stats":null,"previous_names":["just-rich/servcaster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/just-rich/servcaster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-rich%2Fservcaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-rich%2Fservcaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-rich%2Fservcaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-rich%2Fservcaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/just-rich","download_url":"https://codeload.github.com/just-rich/servcaster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-rich%2Fservcaster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280936402,"owners_count":26416542,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","discord","discord-bot","discord-js","discord-js-bot","discord-message","discord-message-sender","discord-message-sender-bot","discord-msg","discord-msg-sender","discordbot","discordjs","discordjs-bot","nodejs"],"created_at":"2025-04-07T14:29:08.132Z","updated_at":"2025-10-25T09:36:56.497Z","avatar_url":"https://github.com/just-rich.png","language":"JavaScript","funding_links":["https://github.com/sponsors/just-rich","https://ko-fi.com/itsrich","https://liberapay.com/rich","https://buymeacoffee.com/itsrich","https://paypal.me/punkrockrich"],"categories":[],"sub_categories":[],"readme":"# ServCaster (Servers Message Broadcast)\n\nA simple bot that sends a predefined message into each server it's in.\n\n### How It Works\n- The bot searches for a channel with keywords like **main**, **chat**, **lounge**, etc.\n- If no matching channel is found, it falls back to the first channel it has permission to send messages in (in tests, this sometimes ends up being the bottom-most channel).\n- The message is logged in the console for each server.\n\n### Console Log Statuses\n- ✅ **SUCCESS** – Found a channel with a keyword and sent the message.\n- 🟡 **GOOD ENOUGH** – No keyword found, but sent the message in a channel it had permissions in.\n- ❌ **FAILED** – Couldn’t send the message in any channel.\n\n### Installation\n1. **Clone or Download the Repo**\n   If you haven’t already, clone or download the repository to your local machine.\n\n   ```bash\n   git clone \u003crepo-url\u003e\n   cd servcaster\n\n2. Install dependencies\n   ```bash\n   npm install\n\n### 🔁 Running the Bot\nRun `npm run start` or `node index.js` manually whenever you need to broadcast a message (e.g., bot updates or removal notices).\n\n\u003e **IMPORTANT:** Don’t forget to **update the message** inside `index.js` before running it, and ensure you’re using the correct bot token.\n\n### 📜 Servers List (`servlist/index.js`)\nLists all servers the bot is in via console logs.  \nIf the bot has permission to create invite links, it will include one next to the server name.\n\n## To Do\n- If there are 2 channels matching any of the keywords, and bot doesn't have perms to send in the 1st channel matching a keyword, it fails and doesn't think to try to the next channel. This needs fixed.\n\n### Author\nslapped together by [rich](https://richw.xyz) to notify servers of bot's switching to other applications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-rich%2Fservcaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust-rich%2Fservcaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-rich%2Fservcaster/lists"}