Discord 上で動作する、指定したウェブサイトの更新を検知したら通知するボットです。
A bot that runs on Discord and notifies you when it detects an update on a specific website.
$ git clone https://github.com/private-yusuke/discord-diff-watch-bot$ cp config-sample.json config.json$ nano config.json- replace
tokenwith your token.
- replace
$ npm install$ npm run build$ node built/
These settings can be changed by modifying config.json.
Note: You should first modify /config.json then run $ npm run build since this configuration file is copied to built/config.json by tsc.
WatchIntervalunitSpecify the unit. (seconds, minutes, hours, days, ……)"value": 2, "unit": "minutes"→ 2 minutes
watchURLsSpecify the URL to be monitored.watchTargetsurlSpecify the URL.selectorSpecify which element to be monitored.
discordtokenSpecify the token of the bot you created here.channelsSpecify the channel ids.motdWhether or not to post a startup message. (🇯🇵)thresholdSpecify how many characters to post to Discord without omission.
Issue や Pull Request は大歓迎!気づいたことがあれば、ぜひ積極的に教えてください。 We appreciate your issues and pull requests! If you have noticed something, please tell me asap.
Twitter: @public_yusuke