How to Make Custom Death Message With Damage Types

I'm using Damage Types for a custom mob's projectiles to damage a player. The issue I'm having is that when you die to the mob, the death message looks all weird. How would I go about fixing this? My damage type folder looks like this: { "message_id": "shot by", "exhaustion": 0, "scaling": "when_caused_by_living_non_player", "death_message_type": "default" }
Continue to help post