From ed062e0ce54724714285ce840c2b59ae805e568c Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 29 Jun 2018 22:35:29 +0200 Subject: Add a space before url in file uploads (discord). Closes #461 --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord') diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index f1539482..bb3fcb82 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -134,7 +134,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) { for _, f := range msg.Extra["file"] { fi := f.(config.FileInfo) if fi.URL != "" { - msg.Text += fi.URL + " " + msg.Text += " " + fi.URL } } err := b.c.WebhookExecute( -- cgit v1.2.3