Skip to content

Commit 7288b02

Browse files
authored
Change onboarding channel and role IDs to optional
1 parent 1f94b7a commit 7288b02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export const config = {
3737
guides: requireEnv('GUIDES_CHANNEL_ID'),
3838
},
3939
onboarding: {
40-
channelId: requireEnv('ONBOARDING_CHANNEL_ID'),
41-
roleId: requireEnv('ONBOARDING_ROLE_ID'),
40+
channelId: optionalEnv('ONBOARDING_CHANNEL_ID'),
41+
roleId: optionalEnv('ONBOARDING_ROLE_ID'),
4242
},
4343
// Add more config sections as needed:
4444
// database: {

0 commit comments

Comments
 (0)