fix: return reservedate: callback in getDatebutton

This commit is contained in:
Akulij 2025-05-05 19:38:15 +03:00
parent 04d8e8f086
commit 22c2b63069

View File

@ -515,7 +515,7 @@ func getDateButton(date time.Time) (string, string) {
}, " ")
// Create a token similar to what GetBotContent accepts
token := fmt.Sprintf("date_%s", date.Format("200601021504")) // Example token format
token := fmt.Sprintf("reservedate:%s", date.Format("200601021504")) // Example token format
return strings.Join([]string{"Пойду", formattedDate}, " "), token
}