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

Add a fallback for unknown gamemodes #187

Merged
merged 6 commits into from
Jan 8, 2022

Conversation

IncPlusPlus
Copy link
Owner

@IncPlusPlus IncPlusPlus commented Jan 8, 2022

Previously, when a user was in a gamemode that I haven't added to this, it would just say that they were still in a lobby. This was because no status update was sent to Discord. This was caused by an exception being thrown then there was an unknown gamemode. This is now handled more gracefully. Now, an unknown gamemode's codename is displayed and instead of showing the score, the text "In a match" is displayed.

@IncPlusPlus IncPlusPlus self-assigned this Jan 8, 2022
@IncPlusPlus IncPlusPlus merged commit 4f81f8c into main Jan 8, 2022
@IncPlusPlus IncPlusPlus deleted the improvement/fallback_for_unrecognized_game_mode branch January 8, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant