Mercurial > lbo > hg > goe_bot
changeset 62:886d85005318
Even moar emojis (ones that are correctly replaced by the UI)
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 11 Dec 2016 20:25:03 +0100 |
parents | 8efb2e863323 |
children | a3edf8947e0e |
files | handler_remind.go handler_todo.go |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/handler_remind.go Sun Dec 11 20:19:23 2016 +0100 +++ b/handler_remind.go Sun Dec 11 20:25:03 2016 +0100 @@ -162,7 +162,7 @@ remaining := alertTime.Sub(now) hours := uint64(remaining.Seconds()) / 3600 minutes := (uint64(remaining.Seconds()+1) % 3600) / 60 - return replyContent{text: fmt.Sprintf("*✔* Erinnerung #%d in %d:%02d", id, hours, minutes)}, nil + return replyContent{text: fmt.Sprintf("*⏰* Erinnerung #%d in %d:%02d", id, hours, minutes)}, nil } func listReminders(ctx context.Context, chatID int64) (replyContent, error) {
--- a/handler_todo.go Sun Dec 11 20:19:23 2016 +0100 +++ b/handler_todo.go Sun Dec 11 20:25:03 2016 +0100 @@ -30,7 +30,7 @@ return replyContent{text: "_Erstellung fehlgeschlagen:_ " + err.Error()}, err } - return replyContent{text: fmt.Sprintf("*✍* Aufgabe #%d erstellt", id)}, nil + return replyContent{text: fmt.Sprintf("*✏* Aufgabe #%d erstellt", id)}, nil } else { // Query open items todos, err := todo.GetOpenTodos("") // default list