We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c8882d commit 6341bfaCopy full SHA for 6341bfa
src/env.ts
@@ -28,9 +28,9 @@ export const config = {
28
? requireEnv('MODERATORS_ROLE_IDS').split(',')
29
: [],
30
repel: requireEnv('REPEL_ROLE_ID'),
31
- a: requireEnv('ROLE_A_ID'),
32
- b: requireEnv('ROLE_B_ID'),
33
- c: requireEnv('ROLE_C_ID'),
+ a: optionalEnv('ROLE_A_ID'),
+ b: optionalEnv('ROLE_B_ID'),
+ c: optionalEnv('ROLE_C_ID'),
34
},
35
channelIds: {
36
repelLogs: requireEnv('REPEL_LOG_CHANNEL_ID'),
0 commit comments