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>"
]
}
- Add this channel to notify list:
@mention add [custom message]
- Delete this channel from notify list:
@mention del
- Edit notify message:
@mention edit <message>
- Display help message:
@mention help
- Test message:
@mention test
- Show last check status:
@mention lastcheck
- Add the webhook to the notify list:
@mention addwh <webhook url> [custom message]
- Delete the webhook from the notify list:
@mention del <webhook url>
- Edit notify message for the webhook:
@mention edit <webhook url> <message>
- Test webhook message:
@mention test <webhook url>
- Set debug level:
@mention setdebuglevel <DEBUG | VERBOSE | INFO | ERROR>
- Set check interval:
@mention setinterval <interval in ms>
- Set bot status:
@mention setstatus <status>
- Perform update check immediately:
@mention checknow
- Save config to file:
@mention saveconfig
- Dump config:
@mention printconfig
- Display admin help message:
@mention helpadmin