We've been using bs_fantasy_dt (which allows you to add custom fantasy commands and replies) but there's a flooding problem.
Let's imagine you have a command, !command. The reply is "You called?"
Last night in our test channel, someone flooded with !command repeatedly for about 30 seconds. After attempting to keep up with him, the channel bot quit, and seconds later a large services netsplit occurred as services pinged out.
<someone>: !command
<bot>: You called?
<someone>: !command
<someone>: !command
<someone>: !command
<someone>: !command
<bot>: You called?
<bot>: You called?
<someone>: !command
<someone>: !command
<someone>: !command
<bot>: You called?
<someone>: !command
bot has left the channel (*net *split)
The log, which unfortunately I no longer have, simply showed a high amount of latency on services, followed by a ping timeout from services.
Was just wondering how do other fantasy modules avoid this issue? We did some testing and no other fantasy command causes services to split completely after being flooded.
Is there some code we could add to the module to make it either ignore repeated requests like that or else handle them without causing a crash?
Would really appreciate any help you could give us!