From 366dc8f076f2a3381dfcc4bb836cc547f65a9c9f Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Wed, 26 Dec 2018 12:42:40 +0900 Subject: [PATCH] Remove time from Slack notification --- gateways/notification.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/gateways/notification.go b/gateways/notification.go index 56bab7d..1e994a9 100644 --- a/gateways/notification.go +++ b/gateways/notification.go @@ -3,7 +3,6 @@ package gateways import ( "context" "fmt" - "time" "github.com/int128/amefurisobot/domain" "github.com/int128/slack" @@ -32,7 +31,6 @@ func (s *NotificationService) SendForecastMessage(ctx context.Context, recipient Title: text, TitleLink: message.WeatherURL, ImageURL: message.ImageURL, - Timestamp: time.Now().Unix(), } err := s.Client.Send(ctx, recipient.SlackWebhookURL, slack.Message{ Attachments: []slack.Attachment{attachment},