diff --git a/.gitignore b/.gitignore index 8d1d733..8c36e5b 100644 --- a/.gitignore +++ b/.gitignore @@ -67,4 +67,4 @@ config.json error.json markovDB.json -config +/config/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f9b853..e3062d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/config/classes.ts b/src/config/classes.ts index 4b93cfb..bb1002f 100644 --- a/src/config/classes.ts +++ b/src/config/classes.ts @@ -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",