anonradio: start running on ready

This commit is contained in:
Cynthia Foxwell 2022-12-21 09:00:46 -07:00
parent 4fe3512b2b
commit b2c32b880b
1 changed files with 3 additions and 1 deletions

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",