mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Removed minimum of 3 characters because it made searching NRJ impossible
This commit is contained in:
parent
89d1eb62f8
commit
b275e28abe
@ -34,7 +34,6 @@ module.exports = {
|
|||||||
station = client.stations[number];
|
station = client.stations[number];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
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