Add a space before url in file uploads (discord). Closes #461

This commit is contained in:
Wim 2018-06-29 22:35:29 +02:00
parent a69ef8402b
commit ed062e0ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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(