defendtheweb / NexBot

Node.js IRC bot
Other
8 stars 8 forks source link

Warning system #19

Open lwward opened 11 years ago

lwward commented 11 years ago

Each user should be allowed 3 warning before being kicked or banned. These warnings can be issued by an administrator via the !warn command. This will include a reason for the warning. When a user reaches three warnings they will automatically be kicked from the channel.

Flood protection could also be built into this system, but bypassing warnings and simply kicking anyone flooding a channel.

verath commented 11 years ago

How would one identify a user? Name can be changed, ip as well.

Flood protection would be a nice thing, but could do a 30 sec mute ("/mode #Channel +b ~q:Nick") or something instead. If kicked the user could just join back in again and keep spamming.

PMaynard commented 11 years ago

We only have Nick+IP to identify the user, I like the 30s mute idea, but if it's a script or an accidental paste it will not stop it after 30s... so might need some logic to determine if they need to be kicked.