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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt expiration message to game board delete configuration #494

Merged
merged 1 commit into from
May 26, 2023

Conversation

utarwyn
Copy link
Owner

@utarwyn utarwyn commented May 25, 2023

Description

In the current version of the module, the game expiration message systematically replaces the message containing the game board. This is fine when you don't want to keep it, but illogical when you don't want to delete the game board (gameBoardDelete is false).

So I propose to display the game expiration message in the same place as the winner, if any. It will be more consistent 馃憤

Here is a preview of how it will looks with gameBoardDelete = true (like actual):

image

Here is a preview of how it will looks with gameBoardDelete = false:

image

馃寕Closes #421
馃殌 Will be available from v3.x.

@utarwyn utarwyn added the type: enhancement Features and feature requests. label May 25, 2023
@utarwyn utarwyn added this to the 3.x milestone May 25, 2023
@utarwyn utarwyn self-assigned this May 25, 2023
@utarwyn utarwyn linked an issue May 25, 2023 that may be closed by this pull request
@sonarcloud
Copy link

sonarcloud bot commented May 25, 2023

Kudos, SonarCloud Quality Gate passed!聽 聽 Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@utarwyn utarwyn added bug: confirmed Confirmed bugs in discord-tictactoe. and removed type: enhancement Features and feature requests. labels May 25, 2023
@utarwyn utarwyn merged commit 3ac5353 into release/3.x May 26, 2023
5 checks passed
@utarwyn utarwyn deleted the 421-improve-expiration-message branch May 26, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed Confirmed bugs in discord-tictactoe.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expire
1 participant