{"id":27429433,"url":"https://github.com/byteball/counterstake-watchdog-discord","last_synced_at":"2025-08-19T15:03:40.595Z","repository":{"id":72989802,"uuid":"421111099","full_name":"byteball/counterstake-watchdog-discord","owner":"byteball","description":"Discord bot for counterstake-bridge events","archived":false,"fork":false,"pushed_at":"2023-09-25T14:22:41.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T19:35:53.251Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteball.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,"zenodo":null}},"created_at":"2021-10-25T16:57:27.000Z","updated_at":"2021-10-28T08:33:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3bdf051-927c-4bdc-8168-37308f23e732","html_url":"https://github.com/byteball/counterstake-watchdog-discord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/byteball/counterstake-watchdog-discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fcounterstake-watchdog-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fcounterstake-watchdog-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fcounterstake-watchdog-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fcounterstake-watchdog-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteball","download_url":"https://codeload.github.com/byteball/counterstake-watchdog-discord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fcounterstake-watchdog-discord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271172959,"owners_count":24711663,"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-08-19T02:00:09.176Z","response_time":63,"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":[],"created_at":"2025-04-14T14:17:42.522Z","updated_at":"2025-08-19T15:03:40.563Z","avatar_url":"https://github.com/byteball.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# counterstake-watchdog-discord\n Discord bot for counterstake-bridge events\n\nWatch the [Obyte counterstake bridges](https://counterstake.org) and post notifications on Discord when fraudulent claims or challenges happen.\n\n## Setup\n\n- `yarn`\n- Run with `node start.js`, it will create an app data directory in `~/.config/counterstake-watchdog-discord` then fail due to configuration missing.\n- Configure the bot: edit `~/.config/counterstake-watchdog-discord/conf.json` or `./conf.js` and add required fields:\n\t- `admin_email`\n\t- `from_email`\n\t- `infura_project_id`\n\t- `discord_token`\n\t- `discord_channels`\n- While logged on Discord webapp, create an application at https://discord.com/developers/applications \n- Select the application, select bot in menu, copy the bot token and paste it in conf.\n- While logged on Discord, use the following url template to add the bot to your server: https://discord.com/oauth2/authorize?client_id=881946977754038272\u0026scope=bot\u0026permissions=2048, `client_id` can be found in the General Information of your Discord application (Application ID), permissions should be `2048` to allow only posting message.\n- Run the bot with `node start.js`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteball%2Fcounterstake-watchdog-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteball%2Fcounterstake-watchdog-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteball%2Fcounterstake-watchdog-discord/lists"}