From b07efb887887d7db0584d8587aeec2e8f78c491e Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 9 Mar 2020 13:28:37 +0200 Subject: [PATCH] Update play.js --- commands/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/play.js b/commands/play.js index f41e99c..e1ae10a 100644 --- a/commands/play.js +++ b/commands/play.js @@ -28,7 +28,7 @@ module.exports = { return; } else if (!isNaN(number)) { if (number > client.stations.length - 1) { - return radio.textChannel.send('<:redx:674263474704220182> no such station!'); + return msg.channel.send('<:redx:674263474704220182> no such station!'); } else { url = client.stations[number].stream[client.stations[number].stream.default]; station = client.stations[number];