This little plugin I made works fine, but I have found a bug that I need help with.
Saying !regen_1 starts the regeneration, and then saying !regen_0 stops it, no problems there. But if I were to say !regen_1 again, I would start regenerating at twice the speed. If I say it again, it would regen at 3 times the speed etc etc. I think it has something to do with the set_task being called more than once without the first one stopping. Can someone help me out with this please?