Skip to content

Commit bcd922d

Browse files
committed
encryption
1 parent 154cd48 commit bcd922d

File tree

26 files changed

+1135
-158
lines changed

26 files changed

+1135
-158
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ dist
130130
.pnp.*
131131

132132
# Other
133-
src/config.ts
133+
config.json

config.example.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"embeds": {
3+
"default": "#0096FF",
4+
"error": "#E74C3C"
5+
},
6+
"emojis": {
7+
"connection_bad": "",
8+
"connection_excellent": "",
9+
"connection_good": "",
10+
"cross": "",
11+
"ping": "",
12+
"reply": "",
13+
"tick": ""
14+
},
15+
"main": {
16+
"owners": []
17+
},
18+
"reminders": {
19+
"maxReminders": 10,
20+
"__COMMENT__": "All times are in milliseconds",
21+
"maxTime": 31536000000,
22+
"timeTillSet": 300000
23+
}
24+
}

example.env

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# https://wdh.gg/IN3s8wp
33
CLIENT_ID =
44

5+
# Encryption Key
6+
# This key is used to encrypt sensitive data in the database, do not lose it or you will lose access to your data.
7+
ENCRYPTION_KEY =
8+
59
# MongoDB URI
610
# https://wdh.gg/Fsx57qA
711
MONGO_URI =
@@ -13,3 +17,12 @@ SENTRY_DSN =
1317
# Discord Bot Token
1418
# https://wdh.gg/Xik9n40
1519
TOKEN =
20+
21+
# Express Server
22+
# Use localhost:${EXPRESS_PORT}/health to check the status
23+
24+
# Whether to enable the Express server for health checks
25+
EXPRESS_ENABLED =
26+
27+
# Port for the Express server (default: 3000)
28+
EXPRESS_PORT =

0 commit comments

Comments
 (0)