aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/pianoman.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/today/pianoman.rs')
-rw-r--r--src/commands/today/pianoman.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/commands/today/pianoman.rs b/src/commands/today/pianoman.rs
index e3a997f..22e8b61 100644
--- a/src/commands/today/pianoman.rs
+++ b/src/commands/today/pianoman.rs
@@ -3,15 +3,12 @@ use super::prelude::*;
lazy_static! {
static ref NINE_AM: chrono::NaiveTime = chrono::NaiveTime::from_hms_opt(9, 0, 0).unwrap();
static ref NINE_PM: chrono::NaiveTime = chrono::NaiveTime::from_hms_opt(21, 0, 0).unwrap();
-
- static ref PIANOMANS: Vec<TodayArgs> = vec![
- by_url("https://www.youtube.com/watch?v=gxEPV4kolz0"),
- TodayArgs {
- url: "https://www.youtube.com/watch?v=gxEPV4kolz0",
+ static ref PIANOMANS: Vec<TodayArgs> =
+ vec![by_url("https://www.youtube.com/watch?v=gxEPV4kolz0"), TodayArgs {
+ url: "https://www.youtube.com/watch?v=gxEPV4kolz0",
start: Some(Duration::seconds(30)),
- end: Some(Duration::seconds(34)),
- }
- ];
+ end: Some(Duration::seconds(34)),
+ }];
}
pub fn pianoman(dt: chrono::NaiveDateTime) -> TodayIter {