From 018fec70a62448e2603b37f278e8cb4c08cffc7d Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 18 Dec 2019 17:21:40 +0200 Subject: [PATCH] Songselection won't take input from other users --- commands/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/play.js b/commands/play.js index da270661..244a9994 100644 --- a/commands/play.js +++ b/commands/play.js @@ -50,7 +50,7 @@ module.exports = { .setColor(client.config.embedColor) message.channel.send(embed); try { - var response = await message.channel.awaitMessages(message2 => message2.content > 0 && message2.content < 11, { + var response = await message.channel.awaitMessages(message2 => message2.content > 0 && message2.content < 11 && message2.author === message.author, { maxMatches: 1, time: 10000, errors: ['time']