mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
stations
This commit is contained in:
parent
438c77eacb
commit
f1184c6e0d
@ -35,7 +35,7 @@ module.exports = {
|
||||
}
|
||||
} else {
|
||||
const sstation = await client.funcs.searchStation(args.slice(1).join(' '), client);
|
||||
if (sstation === false) return msg.channel.send('No stations found!');
|
||||
if (!sstation) return msg.channel.send('No stations found!');
|
||||
url = sstation.stream[sstation.stream.default];
|
||||
station = sstation
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
module.exports = function (key, client) {
|
||||
if (client.stations === null) return false;
|
||||
let foundStations = [];
|
||||
if (!key) return false;
|
||||
const probabilityIncrement = 100 / key.split(' ').length / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user