I'd rather use aliases than a bot to do it. It's easier like this.
alias modes { /mode $chan $$1- }
Or the bot one I made is this, and it works good
on *:text:!mode *:#: { mode $chan $2- }