Git Product home page Git Product logo

arcdpsreminder's Introduction

ArcdpsReminder

A simple bot that remind you to update arcdps.

Put a config.json in the project root folder:

{
  "CheckUpdateInterval": "1h", //format: 1w2d3h4m5s
  "DefaultNotifyMessage": "Arcdps just updated!!",
  "BotStatus": "@mention help",
  "DebugLevel": "DEBUG",
  "Token": "<BOT TOKEN>",
  "Admins": [
    "<USER ID>"
  ]
}

General commands:

  1. Add this channel to notify list: @mention add [custom message]
  2. Delete this channel from notify list: @mention del
  3. Edit notify message: @mention edit <message>
  4. Display help message: @mention help
  5. Test message: @mention test
  6. Show last check status: @mention lastcheck
  7. Add the webhook to the notify list: @mention addwh <webhook url> [custom message]
  8. Delete the webhook from the notify list: @mention del <webhook url>
  9. Edit notify message for the webhook: @mention edit <webhook url> <message>
  10. Test webhook message: @mention test <webhook url>

Admin commands:

  1. Set debug level: @mention setdebuglevel <DEBUG | VERBOSE | INFO | ERROR>
  2. Set check interval: @mention setinterval <interval in ms>
  3. Set bot status: @mention setstatus <status>
  4. Perform update check immediately: @mention checknow
  5. Save config to file: @mention saveconfig
  6. Dump config: @mention printconfig
  7. Display admin help message: @mention helpadmin

Setting up webhook:

  1. Create a webhook in server setting or channel setting
  2. Copy the webhook url
  3. Everyone has the url can use this webhook, so it's recommended that add the webhook through the DM channel

arcdpsreminder's People

Contributors

paddythepaddy 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.