From b602673b94b7db41b46e309a93503052089510f1 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sat, 26 Sep 2020 15:16:47 -0400 Subject: add france, shrek, better debug options --- src/commands/today/france.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/commands/today/france.rs (limited to 'src/commands/today/france.rs') diff --git a/src/commands/today/france.rs b/src/commands/today/france.rs new file mode 100644 index 0000000..28c7b96 --- /dev/null +++ b/src/commands/today/france.rs @@ -0,0 +1,16 @@ +use super::prelude::*; + +pub fn france(date: chrono::NaiveDate) -> TodayIter { + let ok = match month_day(date) { + // bastille day + (7, 14) => true, + + _ => false, + }; + + if !ok { + return Box::new(empty()); + } + + Box::new(once(by_url("https://www.youtube.com/watch?v=VFevH5vP32s"))) +} -- cgit v1.3.1