From 52a31b4842076d9dd1efe060bb13ed77678be69d Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Tue, 29 Sep 2020 13:19:28 -0400 Subject: add putin walk --- src/commands/today/mod.rs | 1 + src/commands/today/putin.rs | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/commands/today/putin.rs diff --git a/src/commands/today/mod.rs b/src/commands/today/mod.rs index e18a01e..6668ac6 100644 --- a/src/commands/today/mod.rs +++ b/src/commands/today/mod.rs @@ -35,6 +35,7 @@ mod halloween; mod ussr; mod france; mod shrek; +mod putin; mod wednesday; mod tomorrow; diff --git a/src/commands/today/putin.rs b/src/commands/today/putin.rs new file mode 100644 index 0000000..790167a --- /dev/null +++ b/src/commands/today/putin.rs @@ -0,0 +1,9 @@ +use super::prelude::*; + +pub fn shrek(date: chrono::NaiveDateTime) -> TodayIter { + if month_day(date) != (10, 7) { + return Box::new(empty()); + } + + Box::new(once(by_url("https://www.youtube.com/watch?v=tMINTOSZhDo"))) +} -- cgit v1.3.1