Removed minimum of 3 characters because it made searching NRJ impossible

This commit is contained in:
Christer Warén 2020-03-12 01:30:06 +02:00
parent 89d1eb62f8
commit b275e28abe

View File

@ -34,7 +34,6 @@ module.exports = {
station = client.stations[number];
}
} 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);
if (!sstation) return msg.channel.send('No stations found!');
url = sstation.stream[sstation.stream.default];