Added ytlookup function

This commit is contained in:
2024-11-09 14:22:29 -06:00
parent 08d023076b
commit 81523028ae
4 changed files with 57 additions and 3 deletions

View File

@@ -14,7 +14,8 @@ A `settings.json` file is required to run the bot. An example is provided below:
"motd": {
"date": "",
"time": 8,
"channels": []
"channels": [],
"previous": [0,0,0,0,0,0,0]
},
"debug": false,
"devmode": false,
@@ -25,7 +26,7 @@ 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` is modified by the bot during normal operations.
- `date` and `previous` are 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.