anonradio: start running on ready

This commit is contained in:
Cynthia Foxwell 2022-12-21 09:00:46 -07:00
parent 4fe3512b2b
commit b2c32b880b

View file

@ -112,7 +112,9 @@ async function updateNowPlaying() {
hf.__anonradio_timeout = setTimeout(updateNowPlaying, 2000);
}
updateNowPlaying();
hf.bot.once("ready", () => {
updateNowPlaying();
});
/*hf.timer.add(
"anonradio",