Just fyi: I believe (but haven't gotten to try it myself) that this command will turn off the power chime when you plug in a USB-C charger.
defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime