#NEWLINE# def __init__( self , bot ) : #NEWLINE# #INDENT# self . bot = bot #NEWLINE# self . timeout = int ( self . bot . config . get ( 'timeout' ) ) #NEWLINE# self . max_lag = int ( self . bot . config . get ( 'max_lag' ) ) #NEWLINE# self . reconn_handle = None #NEWLINE# self . ping_handle = None #NEWLINE# self . nick_handle = None #NEWLINE# self . before_connect_events = [ event ( rfc . CONNECTED , self . connected ) , event ( '^:\\S+ 005 \\S+ (?P<data>.+) :\\S+.*' , bot . set_config ) ]