anonradio: start running on ready
This commit is contained in:
parent
4fe3512b2b
commit
b2c32b880b
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ async function updateNowPlaying() {
|
|||
|
||||
hf.__anonradio_timeout = setTimeout(updateNowPlaying, 2000);
|
||||
}
|
||||
updateNowPlaying();
|
||||
hf.bot.once("ready", () => {
|
||||
updateNowPlaying();
|
||||
});
|
||||
|
||||
/*hf.timer.add(
|
||||
"anonradio",
|
||||
|
|
Loading…
Reference in a new issue