Add configuration validation with jsonschema

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2020-11-26 14:48:46 +01:00
commit 17f0948aeb
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
6 changed files with 30 additions and 7 deletions

4
config.example.json Normal file
View file

@ -0,0 +1,4 @@
{
"chat_id": 99,
"auth_key": "hash"
}