Time to fix recursion problems. 2
This commit is contained in:
parent
733f694cba
commit
d63aa91a21
|
@ -113,6 +113,10 @@ client.on('message', async message => {
|
||||||
collector.on("collect", () => {
|
collector.on("collect", () => {
|
||||||
ball()
|
ball()
|
||||||
})
|
})
|
||||||
|
collector.on("end", () => {
|
||||||
|
if (collector.users.size === 0)
|
||||||
|
message.channel.send("this mean that there was most likely a filter problem")
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue