misc.anonradio: mark sat 0300 as sbr
This commit is contained in:
parent
b07d33f315
commit
e09d605699
1 changed files with 12 additions and 0 deletions
|
@ -331,6 +331,18 @@ anonradio.callback = async function (msg, line) {
|
|||
liveNow.name = liveNow.name.replace(" <- Live NOW", "");
|
||||
}
|
||||
|
||||
const currentHour = now.getUTCHour();
|
||||
const currentDay = now.getUTCDay();
|
||||
// sbr only ever lasts 2 hours on average
|
||||
if (
|
||||
currentDay == 6 &&
|
||||
currentHour >= 3 &&
|
||||
currentHour <= 5 &&
|
||||
liveNow.id == "openmic"
|
||||
) {
|
||||
liveNow.name = "Synth Battle Royale";
|
||||
}
|
||||
|
||||
let title = "";
|
||||
let subtitle = "";
|
||||
|
||||
|
|
Loading…
Reference in a new issue