From c50dcc5e2a103b42a63bd5ed26b8fed5a9fe5675 Mon Sep 17 00:00:00 2001 From: "k.ukolov" Date: Fri, 10 Feb 2023 15:18:33 +0700 Subject: [PATCH] style fix --- messages/messages.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/messages/messages.go b/messages/messages.go index ce666c7..a99cc30 100644 --- a/messages/messages.go +++ b/messages/messages.go @@ -70,7 +70,8 @@ func LessonsMessage(schedule []parser.Lesson, prefix, emptyText string) string { l.Name = strings.ReplaceAll(l.Name, "()", "") l.Name = strings.ReplaceAll(l.Name, l.TimeStart.Format("15:04"), "") l.Name = strings.TrimSpace(l.Name) - s += fmt.Sprintf("%s %s (%s)\n", l.TimeMsg, l.Name, l.Place) + s += fmt.Sprintf("%s %s (%s)\n"+ + "%s \n", l.TimeMsg, l.Name, l.Place, l.User) } if prefix != "" { s += "\n" +