Add titles to config file and sort list by title

This commit is contained in:
bel
2020-03-15 17:05:29 +00:00
parent 061292386c
commit 0ccdee8bd1
6 changed files with 12 additions and 9 deletions

View File

@@ -93,6 +93,7 @@ func splitScheduleCommandTitle(b []byte) (string, string, string) {
if i := strings.LastIndex(commandTitle, "#"); i >= 0 {
title = commandTitle[i+1:]
}
title = strings.TrimSpace(title)
return schedule, commandTitle, title
}