Fix WRC url

also set it to own site so no need for bot updates if the url format ever changes.
This commit is contained in:
Tom 2023-04-21 21:31:50 +02:00
parent 1db9ebdde2
commit 7872513949

View file

@ -94,7 +94,7 @@ pub async fn wrc(
} else {
"".to_string()
};
events.push(format!("{}: <t:{}:R>- <t:{}:R>: [{}](https://morningstreams.com/wrcplayer.html?id={}) {} {}", day.event_day, session.start.timestamp(), session.end.timestamp(), session.content.id, session.content.id, session.content.title, desc));
events.push(format!("{}: <t:{}:R>- <t:{}:R>: [{}](https://tom.al/ms/wrc/{}) {} {}", day.event_day, session.start.timestamp(), session.end.timestamp(), session.content.id, session.content.id, session.content.title, desc));
}
}
let pages = utils::paginator(events, 2400, "\n".to_owned());