Time to fix recursion problems. 2

This commit is contained in:
Alex 2020-08-05 10:48:22 -05:00
parent 733f694cba
commit d63aa91a21
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ client.on('message', async message => {
collector.on("collect", () => {
ball()
})
collector.on("end", () => {
if (collector.users.size === 0)
message.channel.send("this mean that there was most likely a filter problem")
})
})
})
}