This commit is contained in:
MatteZ02
2020-03-12 02:50:26 +02:00
3 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,7 @@ module.exports = {
station = client.stations[number];
}
} else {
if(args[1].length < 4) return msg.channel.send('<:redx:674263474704220182> 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];