Entity.name help
I have made a plugin to log events to Discord, i would like the name to be Cargo Plane for the cargo plane, Attack Heli for heli and so on here is the plugin: 
            if (entity is CargoPlane || entity is BaseHelicopter || entity is CargoShip || entity is CH47Helicopter)
            {
                Channel channel = null;

                _client.DiscordServer.channels.FindAll(findChannel =>
                {
                    if (findChannel.id == "not for you ") channel = findChannel;
                    return true;
                });

                Author author = new Author
                {
                    name = entity.name,
                    icon_url = GetUrl(entity)
                };

                Embed embed = new Embed
                {
                    author = author,
                    description = GetText(entity),
                    color = 3447003
                };

                channel.CreateMessage(_client, embed);
            }
        }​
Okay, so what exactly is the issue?

The output is this for "assets/prefabs/npc/ch47/ch47scientists.entity.prefab" for the corresponding event, i want it to be short like Chinhook spanwed, so get rid of the whole entity name in the image below 

https://imgur.com/ECq2IsW

entity.ShortPrefabName is likely what you want I believe.
Thank you, this is my first plugin so sorry if i look stupid :)