fix: reset tag after each attachment
This commit is contained in:
parent
3b91275596
commit
3ca86d112d
1 changed files with 2 additions and 2 deletions
|
|
@ -206,9 +206,9 @@ func (ml *messagesList) createDefaultMsg(msg discord.Message) {
|
|||
|
||||
fg, bg, _ := ml.cfg.Theme.MessagesList.AttachmentStyle.Decompose()
|
||||
if ml.cfg.ShowAttachmentLinks {
|
||||
fmt.Fprintf(ml, "[%s:%s][%s]:\n%s[-]", fg, bg, a.Filename, a.URL)
|
||||
fmt.Fprintf(ml, "[%s:%s]%s:\n%s[-:-]", fg, bg, a.Filename, a.URL)
|
||||
} else {
|
||||
fmt.Fprintf(ml, "[%s:%s][%s][-]", fg, bg, a.Filename)
|
||||
fmt.Fprintf(ml, "[%s:%s]%s[-:-]", fg, bg, a.Filename)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue