stash icon indicating copy to clipboard operation
stash copied to clipboard

`/ammo` command doesn't use `ammo_type`

Open aLooseGoose opened this issue 3 years ago • 1 comments

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.

aLooseGoose avatar Jun 20 '22 15:06 aLooseGoose

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.

Razzmatazzz avatar Jun 22 '22 00:06 Razzmatazzz