Skip to content

Commit 6d16d08

Browse files
feat: Add discordServicePublicKey to botToken configuration (#2413)
* feat: Add discordServicePublicKey to botToken configuration * feat: Add discordServicePublicKey to botToken configuration * refactor: Remove DISCORD_SERVICE constant from bot configuration * refactor: Rename discordServiceToken to discordService and update publicKey structure --------- Co-authored-by: Amit Prakash <[email protected]>
1 parent d7cef3c commit 6d16d08

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/custom-environment-variables.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ module.exports = {
100100
botPublicKey: "BOT_PUBLIC_KEY",
101101
},
102102

103+
discordService: {
104+
publicKey: "DISCORD_SERVICE_PUBLIC_KEY",
105+
},
106+
103107
cronJobHandler: {
104108
publicKey: "CRON_JOB_PUBLIC_KEY",
105109
},

config/default.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ module.exports = {
9595
botPublicKey: "<botpublicKey>",
9696
},
9797

98+
discordService: {
99+
publicKey: "DISCORD_SERVICE_PUBLIC_KEY",
100+
},
101+
98102
// Cloudinary keys
99103
cloudinary: {
100104
cloud_name: "Cloud_name",

0 commit comments

Comments
 (0)