Complete rewrite of the MOTD and Save System loops
This commit is contained in:
@@ -14,8 +14,7 @@ A `settings.json` file is required to run the bot. An example is provided below:
|
||||
"motd": {
|
||||
"date": "",
|
||||
"time": 8,
|
||||
"channels": [],
|
||||
"posted": true
|
||||
"channels": []
|
||||
},
|
||||
"debug": false,
|
||||
"devmode": false,
|
||||
@@ -26,8 +25,8 @@ A `settings.json` file is required to run the bot. An example is provided below:
|
||||
}
|
||||
```
|
||||
- onequestionmark will handle most of the `motd` values itself.
|
||||
- `date` and `posted` are modified by the bot during normal operations.
|
||||
- `time` determines the hour at which the MOTD is posted (8AM by default).
|
||||
- `date` is modified by the bot during normal operations.
|
||||
- `time` determines the hour at which the MOTD is posted (24-hour notation, local time).
|
||||
- Using the `?motd` command adds the current channel to the `channels` array.
|
||||
- `debug` determines whether HxDiscord's console debug messages are enabled.
|
||||
- `devmode` restricts the bot's responses to the specified dev server.
|
||||
|
Reference in New Issue
Block a user