zD12 / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

Remove Flood Control (or have a way to go around it) #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes you need to get messages quickly, and the server you are working on 
does not have flood control.

Original issue reported on code.google.com by guo9810 on 12 Jun 2013 at 1:16

GoogleCodeExporter commented 9 years ago
There are 2 ways to do this

sendRawLineNow
1.9: bot.sendRawLineNow("PRIVMSG #channel :Sent immediately");
2.0: bot.sendRaw().rawLineNow("PRIVMSG #channel :Sent immediately");

Completely disable message delay. Note that this is global for the bot and must 
be done before connecting
1.9: bot.setMessageDelay(0);
2.0: configurationBuilder.setMessageDelay(0);

Original comment by Lord.Qua...@gmail.com on 12 Jun 2013 at 3:47