added a method for modes, due to lack of it in default supybot