Skip to content

Conversation

@cizetux
Copy link
Collaborator

@cizetux cizetux commented Mar 30, 2024

TODO

@cizetux cizetux added the enhancement New feature or request label Mar 30, 2024
@cizetux cizetux requested a review from Quentixx March 30, 2024 14:56
@cizetux cizetux self-assigned this Mar 30, 2024

withArguments(IntegerArgument("game"))

subcommand("create") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'create' subcommand is not permission secured.

} else {
plugin.launch {

game = games.createAndSave(gameIndex)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'spectate' subcommand is not correct because it re-creates an already existing game. You can delete this line.
This means that it will be necessary to review the game creation logic from the main Hub menu.

@Quentixx
Copy link
Contributor

Quentixx commented Apr 4, 2024

Each command permission should also follow a consistent structure like: rtf.command.[sub_command_here]

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

Successfully merging this pull request may close these issues.

3 participants