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

Add /ignore command #30

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Add /ignore command #30

wants to merge 15 commits into from

Conversation

mdcfe
Copy link
Contributor

@mdcfe mdcfe commented Jun 30, 2019

Add a /ignore command which lets players mark other players as ignored. Running /ignore bob will toggle whether "bob" is ignored or not, but this can be overridden by adding true/false at the end. A list of ignored players is available through the API and by running /ignore with no arguments.

@mdcfe mdcfe changed the title Add /ignore command and prevent PMs to/from ignored players Add /ignore command Jun 30, 2019
@Crypnotic
Copy link
Owner

Make sure you're adding the message to the default locale

@mdcfe
Copy link
Contributor Author

mdcfe commented Jul 1, 2019

@Crypnotic I've updated the en_us locale file.

src/main/resources/locales/en_US.conf Outdated Show resolved Hide resolved
@LarsArtmann
Copy link
Contributor

@md678685 Where you call "ignore_ambiguous_player"? I can not transate it, good.

LarsArtmann pushed a commit to LarsArtmann/Neutron that referenced this pull request Jul 1, 2019
@mdcfe
Copy link
Contributor Author

mdcfe commented Jul 1, 2019

@LartyHD ignore_ambiguous_player is shown if there is more than one person whose name matches what the user typed after /ignore. For example, if you run /ignore bob when there are players called "bob1" and "bob2", it will send ignore_ambiguous_player instead of picking one of those players.

@Crypnotic Should the matchPlayer argument parsing be moved to CommandWrapper and used throughout all the commands?

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

Successfully merging this pull request may close these issues.

3 participants