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

GH-51: Play using Discord buttons #158

Merged
merged 5 commits into from Jan 24, 2022
Merged

GH-51: Play using Discord buttons #158

merged 5 commits into from Jan 24, 2022

Conversation

utarwyn
Copy link
Owner

@utarwyn utarwyn commented Jan 24, 2022

Description

A recent Discord feature allows us to use buttons in addition of reactions to interact with messages.
The main idea of that PR is to use buttons instead of reactions to handle tic-tac-toe gameboards, as described in issue #51.

Keep in mind that although buttons will be the default choice, you can still use reactions by setting a configuration value. See below for more information on this. Also, custom emojies are applied to buttons if defined in the config. Gameboard using buttons is also deleted after a game if specific config value is enabled.

Here is a preview of how it looks using a slash command:

image

Here is how to disable it (and come back to reactions):

{
    "gameBoardReactions": true
}

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

@utarwyn utarwyn added type: enhancement Features and feature requests. status: testing Issues or PRs that need to be tested in order to be resolved. labels Jan 24, 2022
@utarwyn utarwyn added this to the 3.0.x milestone Jan 24, 2022
@utarwyn utarwyn self-assigned this Jan 24, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jan 24, 2022

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@utarwyn utarwyn merged commit 70cfac9 into next Jan 24, 2022
@utarwyn utarwyn deleted the issue-51-using-buttons branch January 27, 2022 09:12
@utarwyn utarwyn removed the status: testing Issues or PRs that need to be tested in order to be resolved. label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using buttons
1 participant