new members press a button, read a code from a picture only they can see, and type it in. get it right and drain gives them the verified role. bots can’t read the picture, and raid accounts give up.

setting it up

open the dashboard, pick your server and go to verification. pick the verified role and the channel for the panel, optionally an unverified role and a log channel, and save: drain posts the panel. picking another channel moves it there, and post it again reposts a panel somebody deleted. switching it off leaves the panel up but it stops letting people in.

what a member sees

1

verify

they press the green verify button on the panel.
2

the picture

a message only they can see, with a picture of six letters and numbers. it lasts five minutes. a new code button draws another.
drain's captcha picture with enter code and new code buttons

only the person who pressed verify sees this

3

enter code

they type what they see. capitals and spaces don’t matter.
  • right: they get the verified role, lose the unverified one, and the message says they’re verified
  • wrong: they’re told how many tries are left, out of three
  • three wrong, or five minutes gone: they press new code
the picture never uses letters that look alike, like 0 and O or 1 and I.

limits

the code is never stored as itself: only a hash of it, for those five minutes.

ways to type it

the group answers to verification, verify and captcha.

every command

there’s no enable command. after disable, run setup again, or switch it back on from the dashboard.

worth knowing

  • autorole still gives its roles on join, verified or not. don’t make an autorole of anything that shows channels
  • if drain can’t draw the picture or reach its cache, the button says verification isn’t available right now instead of letting people through
  • drain needs manage roles, with both roles below its own