From 41a2632ae7311976c9dda6f5b9d27616ba9a41c9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 19 Feb 2017 16:07:28 -0500 Subject: webhook: minor text change on Discord --- models/webhook_discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/webhook_discord.go b/models/webhook_discord.go index 097c6f89..820637fb 100644 --- a/models/webhook_discord.go +++ b/models/webhook_discord.go @@ -105,7 +105,7 @@ func getDiscordPushPayload(p *api.PushPayload, slack *SlackMeta) (*DiscordPayloa repoLink := DiscordLinkFormatter(p.Repo.HTMLURL, p.Repo.Name) branchLink := DiscordLinkFormatter(p.Repo.HTMLURL+"/src/"+branchName, branchName) - content := fmt.Sprintf("Pushed %s to %s/%s:\n", commitString, repoLink, branchLink) + content := fmt.Sprintf("Pushed %s to %s/%s\n", commitString, repoLink, branchLink) // for each commit, generate attachment text for i, commit := range p.Commits { -- cgit v1.2.3