aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/wednesday.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/today/wednesday.rs')
-rw-r--r--src/commands/today/wednesday.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/commands/today/wednesday.rs b/src/commands/today/wednesday.rs
new file mode 100644
index 0000000..8fec707
--- /dev/null
+++ b/src/commands/today/wednesday.rs
@@ -0,0 +1,13 @@
+use super::prelude::*;
+
+pub fn wednesday(date: chrono::NaiveDate) -> TodayIter {
+ if date.weekday() != chrono::Weekday::Wed {
+ return Box::new(empty());
+ }
+
+ Box::new(
+ once(
+ by_url("https://www.youtube.com/watch?v=du-TY1GUFGk")
+ )
+ )
+}