aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/sept_21.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/today/sept_21.rs')
-rw-r--r--src/commands/today/sept_21.rs41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/commands/today/sept_21.rs b/src/commands/today/sept_21.rs
new file mode 100644
index 0000000..06689e8
--- /dev/null
+++ b/src/commands/today/sept_21.rs
@@ -0,0 +1,41 @@
+use super::prelude::*;
+
+lazy_static! {
+ static ref SEPT_21_CHOICES: Vec<TodayArgs> = vec![
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=kPwG6L73-VU",
+ ..Default::default()
+ },
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=fPpUYXZb2AA",
+ ..Default::default()
+ },
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=CG7YHFT4hjw",
+ end: Some(Duration::seconds(69)),
+ ..Default::default()
+ },
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=_hpU6UEq8hA",
+ end: Some(Duration::seconds(67)),
+ ..Default::default()
+ },
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=_zzEDrYTkkg",
+ end: Some(Duration::seconds(68)),
+ ..Default::default()
+ },
+ TodayArgs {
+ url: "https://www.youtube.com/watch?v=Gs069dndIYk",
+ ..Default::default()
+ },
+ ];
+}
+
+pub fn sept_21(date: chrono::NaiveDate) -> TodayIter {
+ if (9, 21) != (date.month(), date.day()) {
+ return Box::new(empty());
+ }
+
+ Box::new(SEPT_21_CHOICES.iter().cloned())
+}