#NEWLINE# def connected( self , **kwargs ) : #NEWLINE# #INDENT# 'triger the server_ready event' #NEWLINE# self . bot . log . info ( 'Server config: %r' , self . bot . server_config ) #NEWLINE# self . bot . config [ 'nick' ] = kwargs [ 'me' ] #NEWLINE# self . bot . recompile ( ) #NEWLINE# self . bot . notify ( 'server_ready' ) #NEWLINE# self . bot . detach_events ( * self . before_connect_events )