Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock TwitchBot for local builds #82

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Mock TwitchBot for local builds #82

merged 2 commits into from
Sep 1, 2023

Conversation

DevinLeamy
Copy link
Contributor

copilot:poem

Public Changelog

Why

  • Only production builds (and employees) have access to the TwitchAPI key. This causes local builds that don't have access to fail on startup. If a build does not have access, we now use a mock twitch bot.
  • The environment variable ALLOW_DEV_TWITCH can be set to 1 to explicitly enable the production twitch bot.

how

copilot:walkthrough

@DevinLeamy DevinLeamy enabled auto-merge (squash) September 1, 2023 16:28
@DevinLeamy DevinLeamy merged commit 14252b9 into main Sep 1, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant