diff options
| -rw-r--r-- | src/commands/today/mod.rs | 1 | ||||
| -rw-r--r-- | src/commands/today/putin.rs | 9 |
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"))) +} |
