diff --git a/slack/slack.go b/slack/slack.go index 3e7e2ed..9808e2c 100644 --- a/slack/slack.go +++ b/slack/slack.go @@ -223,13 +223,6 @@ func (s *Slack) SendMessageType(channel, messageType, subType, message string) ( log.Fatalf("Error parsing message response: %s", err) } - bodyAsString := string(body) - - //what the fuck - if strings.Contains(bodyAsString, "\"ts\":\"") { - mr.Timestamp = strings.Split(strings.Split(bodyAsString, "\"ts\":\"")[1], "\"")[0] - } - return mr.Timestamp, err }