refactor(cmd): use io.WriteString instead
This commit is contained in:
parent
6885a3fb79
commit
6aee4a08e3
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ func (mt *messagesText) createMsg(msg discord.Message) {
|
|||
if mt.cfg.HideBlockedUsers {
|
||||
isBlocked := discordState.UserIsBlocked(msg.Author.ID)
|
||||
if isBlocked {
|
||||
fmt.Fprintln(mt, "[:red:b]Blocked message[:-:-]")
|
||||
io.WriteString(mt, "[:red:b]Blocked message[:-:-]")
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue