mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-09-07 21:21:22 +00:00
Display scheduled reminder time
This commit is contained in:
parent
63aea33a9e
commit
b4fa0c2d24
@ -201,7 +201,7 @@ async fn process_one(update: Update, reminder_msg: &mut MessageId, reminder_text
|
||||
"time": remind_time.to_rfc3339(),
|
||||
"task": *reminder_text
|
||||
})).send().await?;
|
||||
API.send(SendMessage::new(*OWNER, "Reminder saved :-)")).await?;
|
||||
API.send(SendMessage::new(*OWNER, format!("Reminder scheduled for {} :-)", remind_time.format("%Y-%m-%d %H:%M")))).await?;
|
||||
*reminder_text = String::new();
|
||||
},
|
||||
_ => {}
|
||||
|
Loading…
Reference in New Issue
Block a user