#NEWLINE# def _process_command( self , nick , message , channel ) : #NEWLINE# #INDENT# results = [ ] #NEWLINE# for ( pattern , callback ) in self . _callbacks : #NEWLINE# #INDENT# match = ( pattern . match ( message ) or pattern . match ( '/privmsg' ) ) #NEWLINE# if match : #NEWLINE# #INDENT# results . append ( callback ( nick , message , channel , ** match . groupdict ( ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return results