Update listStations function

This commit is contained in:
Christer Warén 2021-09-16 05:17:47 +03:00
parent 9ecdbc2bee
commit a8513ce514

View File

@ -4,7 +4,7 @@ module.exports = function listStations(client, interaction){
let stations = new Array(); let stations = new Array();
let options = new Array(); let options = new Array();
stations = client.stations.list.forEach(station => { stations = client.stations.forEach(station => {
if(station.name == "GrooveFM") return; if(station.name == "GrooveFM") return;
station = { station = {
label: station.name, label: station.name,