refactor(cmd): replace fmt.Fprint with io.WriteString
This commit is contained in:
parent
586b68315b
commit
8f217f1278
1 changed files with 1 additions and 2 deletions
|
|
@ -129,8 +129,7 @@ func (ml *messagesList) drawMessage(writer io.Writer, message discord.Message) {
|
|||
}
|
||||
|
||||
// Tags with no region ID ([""]) don't start new regions. They can therefore be used to mark the end of a region.
|
||||
fmt.Fprint(writer, `[""]`)
|
||||
fmt.Fprintln(writer)
|
||||
io.WriteString(writer, "[\"\"]\n")
|
||||
}
|
||||
|
||||
func (ml *messagesList) formatTimestamp(ts discord.Timestamp) string {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue