From 89585cae0eaa446153c445af1a1d9fd06c3b9ded Mon Sep 17 00:00:00 2001 From: Roscoe Date: Sun, 15 Feb 2026 23:31:34 +0000 Subject: [PATCH] Use env vars instead of json --- .env | 2 ++ .idea/runConfigurations/Doki.xml | 3 +++ README.md | 13 ++++++------- config.example.json | 4 ---- pom.xml | 2 +- src/main/java/net/hypr/doki/Config.java | 22 ++++++++++------------ src/main/java/net/hypr/doki/Doki.java | 8 ++++++-- src/main/resources/config.schema.json | 12 ------------ 8 files changed, 28 insertions(+), 38 deletions(-) create mode 100644 .env delete mode 100644 config.example.json delete mode 100644 src/main/resources/config.schema.json diff --git a/.env b/.env new file mode 100644 index 0000000..e952d6d --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +DOKI_TOKEN=OTM4NTIyNzgxMDM1OTIxNDQ4.G49Qim.wrCrGvb3YwTQEMMoJ0P3LpSCWcaeL2AAuOOsEI +DOKI_WARNING_CHANNEL=1320191969137393736 \ No newline at end of file diff --git a/.idea/runConfigurations/Doki.xml b/.idea/runConfigurations/Doki.xml index dbd38ab..931d0a4 100644 --- a/.idea/runConfigurations/Doki.xml +++ b/.idea/runConfigurations/Doki.xml @@ -1,5 +1,8 @@ +