diff options
author | Wim <wim@42.be> | 2018-06-29 22:35:29 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-06-29 22:35:29 +0200 |
commit | ed062e0ce54724714285ce840c2b59ae805e568c (patch) | |
tree | 1ada1dd5829049d3ae1a0a40b543c8fa5e9791a1 /bridge/discord/discord.go | |
parent | a69ef8402b69a596168cebf3b7c91e52ee09d062 (diff) | |
download | matterbridge-msglm-ed062e0ce54724714285ce840c2b59ae805e568c.tar.gz matterbridge-msglm-ed062e0ce54724714285ce840c2b59ae805e568c.tar.bz2 matterbridge-msglm-ed062e0ce54724714285ce840c2b59ae805e568c.zip |
Add a space before url in file uploads (discord). Closes #461
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
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( |