umode reversal

we wanted to set umode +q on a person for a period when accidentally pasting rather than ban or kick them, this reverses any user mode after delay.
I am not sure if it is the right delay to use, or if there should be a delay in the punishment, like ban+20 does for example. It will reverse anything so umode-v would re-voice a user after delay.