Takes one or more lines from the passed buffer and sends them to the server as whispers.
Sends to the server in a throttled fashion, based on a simple y = k*x + m graph.
This is so we don't get kicked by the server for spamming, if a lot of lines are to be sent at once.
Buffer instance.
Whether or not the line should just be sent straight away, ignoring throttling.
A double of the the time in seconds remaining until the next message may be sent. If 0.0, the buffer was emptied.
kameloso.plugins.twitch.api.sendWhisper
Takes one or more lines from the passed buffer and sends them to the server as whispers.
Sends to the server in a throttled fashion, based on a simple y = k*x + m graph.
This is so we don't get kicked by the server for spamming, if a lot of lines are to be sent at once.