Clarify JSON5 extension support

This commit is contained in:
Charlie Laabs
2022-01-09 16:31:42 -06:00
parent 457baee96d
commit 43516687e9
3 changed files with 3 additions and 2 deletions

2
.gitignore vendored
View File

@@ -67,4 +67,4 @@ config.json
error.json
markovDB.json
config
/config/

View File

@@ -26,7 +26,7 @@ All notable changes to this project will be documented in this file.
* Owner IDs
* Log level
* Slash command name
* Config file supports [JSON5](https://json5.org/) (comments, trailing commas, etc)
* Config file supports [JSON5](https://json5.org/) (comments, trailing commas, etc). It also may use the `.json5` file extension if you prefer.
* Generated responses will now never ping a user or role, only just highlight their name
### 0.7.3

View File

@@ -21,6 +21,7 @@ export enum LogLevel {
}
/**
* The config file supports [JSON5](https://json5.org/) syntax. It supports both `.json` and `.json5` extensions if you prefer one over the other.
* @example ```jsonc
* {
* "token": "k5NzE2NDg1MTIwMjc0ODQ0Nj.DSnXwg.ttNotARealToken5p3WfDoUxhiH",