Removed extra period on error messages
This commit is contained in:
parent
26098d7a88
commit
918c59317a
|
@ -122,7 +122,7 @@ func (dj *MumbleDJ) OnTextMessage(e *gumble.TextMessageEvent) {
|
||||||
"user": e.Sender.Name,
|
"user": e.Sender.Name,
|
||||||
"message": err.Error(),
|
"message": err.Error(),
|
||||||
}).Warnln("Sending an error message...")
|
}).Warnln("Sending an error message...")
|
||||||
dj.SendPrivateMessage(e.Sender, fmt.Sprintf("<b>Error:</b> %s.", err.Error()))
|
dj.SendPrivateMessage(e.Sender, fmt.Sprintf("<b>Error:</b> %s", err.Error()))
|
||||||
} else {
|
} else {
|
||||||
if isPrivateMessage {
|
if isPrivateMessage {
|
||||||
logrus.WithFields(logrus.Fields{
|
logrus.WithFields(logrus.Fields{
|
||||||
|
|
Reference in a new issue