aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2020-09-29 13:19:28 -0400
committerNathan Perry <np@nathanperry.dev>2020-09-29 13:19:28 -0400
commit52a31b4842076d9dd1efe060bb13ed77678be69d (patch)
tree0c18a15ba9be71b433e7263142d76a03ca4e8503
parentdabb00ad4dda679e37dde1827f2b135c9183310c (diff)
add putin walk
-rw-r--r--src/commands/today/mod.rs1
-rw-r--r--src/commands/today/putin.rs9
2 files changed, 10 insertions, 0 deletions
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")))
+}