Coder Social home page Coder Social logo

coord-e / discord-diff-watch-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from private-yusuke/discord-diff-watch-bot

0.0 2.0 0.0 31 KB

A bot for watching the specified website and notify the difference.

License: MIT License

TypeScript 100.00%

discord-diff-watch-bot's Introduction

discord-diff-watch-bot

Discord 上で動作する、指定したウェブサイトの更新を検知したら通知するボットです。

A bot that runs on Discord and notifies you when it detects an update on a specific website.

日本語版の説明はこちらです。

Install

  1. $ git clone https://github.com/private-yusuke/discord-diff-watch-bot
  2. $ cp config-sample.json config.json
  3. $ nano config.json
    • replace token with your token.
  4. $ npm install
  5. $ npm run build
  6. $ node built/

Settings

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.

  • WatchInterval
    • unit Specify the unit. (seconds, minutes, hours, days, ……)
    • "value": 2, "unit": "minutes" → 2 minutes
  • watchURLs Specify the URL to be monitored.
  • discord
    • token Specify the token of the bot you created here.
    • channels Specify the channel ids.
    • motd Whether or not to post a startup message. (🇯🇵)
    • threshold Specify 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

discord-diff-watch-bot's People

Contributors

private-yusuke avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.