I have a BotServ bot assigned on a channel and fantasy mode turned on. When i do
!deop the bot deoped me. And when we type again
!deop it deops me again even if i am already deop. This is same with
!voice etc.
So, my suggestion is to check whether the user who issued the command is already deopped/devoiced/dehalfop and if the condition is true on !deop the bot will not deop him again and again. Thanks and i hope you understand my english