#NEWLINE# def input( self , data ) : #NEWLINE# #INDENT# data = Message ( data ) #NEWLINE# function_name = ( 'process_' + data . type . lower ( ) ) #NEWLINE# dbg ( 'got {}' . format ( plugin ) ) #NEWLINE# for plugin in self . bot_plugins : #NEWLINE# #INDENT# plugin . register_jobs ( ) #NEWLINE# plugin . do ( function_name , data )