1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Songselection won't take input from other users

This commit is contained in:
MatteZ02 2019-12-18 17:21:40 +02:00
parent 96c9552660
commit 018fec70a6

View File

@ -50,7 +50,7 @@ module.exports = {
.setColor(client.config.embedColor) .setColor(client.config.embedColor)
message.channel.send(embed); message.channel.send(embed);
try { 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, maxMatches: 1,
time: 10000, time: 10000,
errors: ['time'] errors: ['time']