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

feat: Better customization for starting a new game lobby #20

Open
1 of 3 tasks
sudojunior opened this issue May 12, 2022 · 1 comment
Open
1 of 3 tasks

feat: Better customization for starting a new game lobby #20

sudojunior opened this issue May 12, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sudojunior
Copy link
Member

sudojunior commented May 12, 2022

Intended options

  • is_private as checkbox: Whether or not the lobby should be private*1

    Unknown how this will work with Discord's modal system, but it will be intended as a checkbox / boolean value.

  • color? as selector: The embed color of the lobby prompt

    This would be used for all messages sent on behalf of the lobby host, including the lobby prompt - as it does already with randomizing the initial color, and repeating it's use with game.color across the board.

  • name as text input: The name of the lobby

    Modal field and limit already implemented.

*1: private is defined as a lobby players can request to join, but only the host can accept their invites.

As it does from its hardcoded configuration.

@sudojunior
Copy link
Member Author

sudojunior commented Jun 28, 2022

For the purpose of testing, use of yet more randomizers is a viable option rather than handling the arbitrary nature of registering multiple (and possibility null) modals, as well as the considerations for API ratelimits; select option limits; character limits and physical code logic to achieve all of it.

  • name rename the game channel to a random alphabet paring

    primary concern: channel renaming ratelimits

  • color random hex color (or random color from predetermined selection, more likely - but requires selecting colors first)

    primary concern: color pool

  • is_private easy toggle, but harder to establish the emoji to choose if the list is being mapped into another structure (i.e. key-value to an array of select options)

    primary concern: emoji choice condition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant