def mode(self, target, mode_string=None, tags=None):
params = [target]<EOL>if mode_string:<EOL><INDENT>params += mode_string<EOL><DEDENT>self.send('<STR_LIT>', params=params, source=self.nick, tags=tags)<EOL>
Sends new modes to or requests existing modes from the given target.