diff options
| author | Nathan Perry <np@nathanperry.dev> | 2020-09-26 15:16:47 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2020-09-26 15:16:54 -0400 |
| commit | b602673b94b7db41b46e309a93503052089510f1 (patch) | |
| tree | cdc02f70169630669146c02ea79cdecb18d5f32e /src/commands/today/shrek.rs | |
| parent | 0dc547e5ac5736174bb9727e1e93da987ed781fd (diff) | |
add france, shrek, better debug options
Diffstat (limited to 'src/commands/today/shrek.rs')
| -rw-r--r-- | src/commands/today/shrek.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands/today/shrek.rs b/src/commands/today/shrek.rs new file mode 100644 index 0000000..0f16337 --- /dev/null +++ b/src/commands/today/shrek.rs @@ -0,0 +1,9 @@ +use super::prelude::*; + +pub fn shrek(date: chrono::NaiveDate) -> TodayIter { + if month_day(date) != (4, 22) { + return Box::new(empty()); + } + + Box::new(once(by_url("https://www.youtube.com/watch?v=L_jWHffIx5E"))) +} |
