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

/ammo command doesn't use ammo_type #41

Open
domosapien opened this issue Jun 20, 2022 · 1 comment
Open

/ammo command doesn't use ammo_type #41

domosapien opened this issue Jun 20, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@domosapien
Copy link

After typing /ammo, name is the only reported option and is forcibly used, which will filter to only that specific ammo and not the generic class of ammo like is shown in the docs (/ammo ammo_type: 5.45x39mm). The /help command shows name, but like the docs here uses the ammo type and not the specific round name, which is inconsistent with the actual command.

@GrantBirki GrantBirki added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Jun 21, 2022
@Razzmatazzz
Copy link
Member

This is sort of a limitation with the way autocomplete works for discord slash commands. Because there isn't an automatically-updating list of all the calibers available in the game, the different rounds are used as a stand-in. The advantage of doing it this way is that if/when new calibers are added to the game, they automatically appear in the bot without any need for additional work to manually add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants