Function BanchoBot.waitForMessageBunch
Waits for multiple messages sent at once and returns them.
Parameters
Name | Description |
---|---|
check | delegate to check if the message matches expectations (author, channel, etc) |
timeout | timeout to wait for first message |
totalTimeout | total time to spend starting waiting for messages |
inbetweenTimeout | timeout for a message after the first message. totalTimeout + inbetweenTimeout is the maximum amount of time this function runs. |