mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 22:43:17 +00:00
Update play.js
This commit is contained in:
parent
bdf2025558
commit
b07efb8878
@ -28,7 +28,7 @@ module.exports = {
|
|||||||
return;
|
return;
|
||||||
} else if (!isNaN(number)) {
|
} else if (!isNaN(number)) {
|
||||||
if (number > client.stations.length - 1) {
|
if (number > client.stations.length - 1) {
|
||||||
return radio.textChannel.send('<:redx:674263474704220182> no such station!');
|
return msg.channel.send('<:redx:674263474704220182> no such station!');
|
||||||
} else {
|
} else {
|
||||||
url = client.stations[number].stream[client.stations[number].stream.default];
|
url = client.stations[number].stream[client.stations[number].stream.default];
|
||||||
station = client.stations[number];
|
station = client.stations[number];
|
||||||
|
Loading…
Reference in New Issue
Block a user