aboutsummaryrefslogtreecommitdiff
path: root/models/webhook_discord.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-19 16:07:28 -0500
committerUnknwon <u@gogs.io>2017-02-19 16:07:28 -0500
commit41a2632ae7311976c9dda6f5b9d27616ba9a41c9 (patch)
treed26b16f9aaa566f50a99025cd4add86693563762 /models/webhook_discord.go
parentf3a228ed61fc3253365485a2389c500d6c185a58 (diff)
webhook: minor text change on Discord
Diffstat (limited to 'models/webhook_discord.go')
-rw-r--r--models/webhook_discord.go2
1 files changed, 1 insertions, 1 deletions
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 {