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

Shorten/format/rephase commands #18

Open
AbbyCottontail opened this issue Aug 11, 2017 · 7 comments
Open

Shorten/format/rephase commands #18

AbbyCottontail opened this issue Aug 11, 2017 · 7 comments

Comments

@AbbyCottontail
Copy link
Collaborator

The system currently have a lot of long commands, with words chunked together that could do either having a shorter equivalent (example: togglegroupexculsive, could also tgp) or renamed, (example: setprefix could be renamed to prefix)

As well as improving on current commands use, coming up with a standard command formatting will also help for future coding.

@LucileDT
Copy link

What do Discord allows? If it's possible to add - between words to have a better understanding of command names (toggle-group-exculsive instead of togglegroupexculsive), I think it would be really nice!

@AbbyCottontail
Copy link
Collaborator Author

That's one of the ways I'm thinking of, I'm trying to balance with ease of use, to easy to understand to defining it so that it can't be confused with other commands, for example if I were to have two games, and both have join function, Do I keep it join or do I use unique name for each, possibly making it confusing or less easy to use, like werewolf-join/votegame-join.

@LucileDT
Copy link

LucileDT commented Aug 18, 2017

I saw in Slack that bots can create buttons and if the user click on one of them, it triggers an event. If I remember well, it's done using post's reaction emojis.

Maybe you could do something like:

  • user send the command /join-game
  • bot displays a Discord post asking "What game do you want to join? 🐺 reaction for Werewolf, 💯 for Vote Game"
  • user react to the post by adding 🐺 or 💯
  • bot check which emoji is added
    • if the first emoji added is 🐺, it adds the user in the werewolf game
    • if the first emoji added if 💯, it adds the user in the vote game

@LucileDT
Copy link

(if Discord allows you to see post's reactions)

@AbbyCottontail
Copy link
Collaborator Author

Can do something like that on discord as well, it would require a bit of a rewrite on how the command function work. If I do something like that, I would need to decide now rather than later when I have 100 commands to modify instead of 26. Hmm

@LucileDT
Copy link

Always the problem with big projects x)

AbbyCottontail pushed a commit that referenced this issue Aug 26, 2017
…to be more readable

Signed-off-by: AbbyTheRat <[email protected]>
@AbbyCottontail
Copy link
Collaborator Author

Commands been renamed to be more clearer but I think it can still be improved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants