Skip to content

Commit

Permalink
allowing Discord bot to start w/o credentials 🏺
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Jul 18, 2024
1 parent 298c4ef commit 9773e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord-bot/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export const CONFIG: IConfig = {
),
frontendURL: parseEnv('FRONTEND_URL', { defaultValue: 'http://localhost:3000' }),
githubAPIToken: parseEnv('GITHUB_API_TOKEN'),
botToken: parseEnv('DISCORD_BOT_TOKEN', { error: true }),
botSecret: parseEnv('DISCORD_BOT_CLIENT_SECRET', { error: true }),
botToken: parseEnv('DISCORD_BOT_TOKEN'),
botSecret: parseEnv('DISCORD_BOT_CLIENT_SECRET'),
apiBaseURL: parseEnv(
'DISCORD_API_BASE_URL',
{ defaultValue: 'https://discord.com/api/v10' },
Expand Down

0 comments on commit 9773e46

Please sign in to comment.