[plugins] Channel doorkeeper
1
Send a welcoming message via PM to unauthenticated, new users when they join a channel, e.g.:
Hi, to be able to speak in , either register (https://freenode.net/kb/answer/registration) or ask one of the operators for voice in a private query. If you send messages in the channel, other people won't see them. This measure is unfortunately a necessity due to ongoing spam campaigns on Freenode.
Behaviour to allow abandoned nicks that are now taken by someone else being welcomed, proposed by xHire: check if time since last seen > certain threshold
.
2
Send a challenge via PM to all unauthenticated users when they join a channel, e.g.:
Hi, to be able to speak in , either register (https://freenode.net/kb/answer/registration), or complete the following challenge. This measure is unfortunately a necessity due to ongoing spam campaigns on Freenode. Thanks for your understanding!
Challenge question: What is the colour of a ripe tomato?
→ given voice if they answer "red"
This would require the bot be run with operator privs, but I don't really trust the code base enough for that.