mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 06:23:37 +00:00
Added more documentation and made changes to env variables
This commit is contained in:
@ -20,7 +20,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
try {
|
||||
client.stations = await fetch('https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json')
|
||||
client.stations = await fetch(client.config.stationslistUrl)
|
||||
.then(client.funcs.checkFetchStatus)
|
||||
.then(response => response.json());
|
||||
} catch (error) {
|
||||
@ -29,7 +29,7 @@ module.exports = {
|
||||
|
||||
setInterval(async () => {
|
||||
try {
|
||||
client.stations = await fetch('https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json')
|
||||
client.stations = await fetch(client.config.stationslistUrl)
|
||||
.then(client.funcs.checkFetchStatus)
|
||||
.then(response => response.json());
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user