Skytils / SkytilsMod

Skytils is a Hypixel Skyblock mod! Be careful, malicious copies are distributed across GitHub. Confirm on discord.gg/skytils (807302538558308352)
https://hypixel.net/threads/3856202/
GNU Affero General Public License v3.0
1.12k stars 433 forks source link

Fix remaining chat messages with uncensored API keys #189

Closed FluxCapacitor2 closed 2 years ago

FluxCapacitor2 commented 2 years ago

Same thing as my previous PR for griffin burrows because the last one wasn't very thorough.

Fixes potentially leaking api keys in chat for:

This should be every possible error message that can leak an api key, I haven't seen any others. Also, wouldn't it be better to just censor them when the exception is thrown here? (Or maybe add it as an option in the createHylinAPI method)