mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Songselection won't take input from other users
This commit is contained in:
parent
96c9552660
commit
018fec70a6
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user