mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 03:53:17 +00:00
Update play.js
This commit is contained in:
parent
f91fc21e6e
commit
0b29cad0ad
@ -34,7 +34,7 @@ module.exports = {
|
|||||||
station = client.stations[number];
|
station = client.stations[number];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(args[1].length < 4) return msg.channel.send('<:redx:674263474704220182> station must be over 3 characters!');
|
if (args[1].length < 4) return msg.channel.send('station must be over 3 characters!');
|
||||||
const sstation = await client.funcs.searchStation(args.slice(1).join(' '), client);
|
const sstation = await client.funcs.searchStation(args.slice(1).join(' '), client);
|
||||||
if (!sstation) return msg.channel.send('No stations found!');
|
if (!sstation) return msg.channel.send('No stations found!');
|
||||||
url = sstation.stream[sstation.stream.default];
|
url = sstation.stream[sstation.stream.default];
|
||||||
|
Loading…
Reference in New Issue
Block a user