style fix
This commit is contained in:
parent
56a6ba3466
commit
c50dcc5e2a
|
@ -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.Name = strings.ReplaceAll(l.Name, l.TimeStart.Format("15:04"), "")
|
l.Name = strings.ReplaceAll(l.Name, l.TimeStart.Format("15:04"), "")
|
||||||
l.Name = strings.TrimSpace(l.Name)
|
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 != "" {
|
if prefix != "" {
|
||||||
s += "\n" +
|
s += "\n" +
|
||||||
|
|
Loading…
Reference in New Issue