private static void SendPM(MessagePayload message) { if (Properties.Settings.Default.Plugin.ToUpper() == "HIPCHAT") { //Hipchat.SendPM(message, Properties.Settings.Default.HipchatToken, "Clyde en Marland"); } else if (Properties.Settings.Default.Plugin.ToUpper() == "SLACK") { Slack.SendPM(message, "ClydeenMarland", Properties.Settings.Default.SlackWebhook); } }