cs2-rockthevote
cs2-rockthevote copied to clipboard
better nominate
- Find the map with string containing the given name
- Added translation (with ChatGPT) for the case of multiple maps with the same given name
*Example: Before, the !nominate swag command didn't return any maps
Thanks for the contribution, about changing the folder structure I see no value, I have a github action that generates the build automatically when I upload a new tag, so build it to bin is working fine, I also don't like having the entire folder structure from addons in the zip, just the RockTheVote folder is enough. About the nomination search it seems interesting, I will take a closer look in your implementation soon before we merge it, note that adding a new phrase to the translation means you need to add it to all languages the plugin supports not only to en and pt-br https://github.com/abnerfs/cs2-rockthevote?tab=readme-ov-file#translations so we also need to get it translated before merging
- Removed folder structure thing
- Added translation to all languages (using ChatGPT)
Tested again:
It's causing error when nominating a map with a similar name (I have mg_minecraft and mg_minecraft_aphixed):
fixed
Suggestion: Make a menu for in case there are more than 2 maps that contain the same name. If this is not in your plan now, maybe we could add it later.
Suggestion: Make a menu for in case there are more than 2 maps that contain the same name. If this is not in your plan now, maybe we could add it later.
Will work on this as well if I have time
https://github.com/Oz-Lin/cs2-rockthevote/commit/1c19a3b4fe31a177eab948902286e3d8d11f0497 Listed in chat when multiple maps that contain the same name for now