Skip to content

Commit 6bf34d8

Browse files
committed
chore: move secrets out of config.json into secrets.json
1 parent 03baab7 commit 6bf34d8

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

application/config.json.template

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"token": "<put_your_token_here>",
3-
"githubApiKey": "<your_github_personal_access_token>",
42
"databasePath": "local-database.db",
53
"projectWebsite": "https://github.com/Together-Java/TJ-Bot",
64
"discordGuildInvite": "https://discord.com/invite/XXFUXzK",
@@ -159,12 +157,8 @@
159157
],
160158
"githubReferencingEnabledChannelPattern": "server-suggestions|tjbot-discussion|modernjava-discussion",
161159
"githubRepositories": [403389278,587644974,601602394],
162-
"logInfoChannelWebhook": "<put_your_webhook_here>",
163-
"logErrorChannelWebhook": "<put_your_webhook_here>",
164-
"openaiApiKey": "<check pins in #tjbot_discussion for the key>",
165160
"sourceCodeBaseUrl": "https://github.com/Together-Java/TJ-Bot/blob/master/application/src/main/java/",
166161
"jshell": {
167-
"baseUrl": "<put_jshell_rest_api_url_here>",
168162
"rateLimitWindowSeconds": 10,
169163
"rateLimitRequestsInWindow": 3
170164
},

application/secrets.json.template

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"token": "<put_your_token_here>",
3+
"githubApiKey": "<your_github_personal_access_token>",
4+
"logInfoChannelWebhook": "<put_your_webhook_here>",
5+
"logErrorChannelWebhook": "<put_your_webhook_here>",
6+
"openaiApiKey": "<check pins in #tjbot_discussion for the key>",
7+
"jshellBaseUrl": "<put_jshell_rest_api_url_here>"
8+
}

0 commit comments

Comments
 (0)