#NEWLINE# @ internationalizeDocstring #NEWLINE# def status( self , irc , msg , args ) : #NEWLINE# #INDENT# 'takes no arguments\n\n        Returns the status of the bot.\n        ' #NEWLINE# networks = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for Irc in world . ircs : #NEWLINE# #INDENT# networks . setdefault ( Irc . network , [ ] ) . append ( Irc . nick ) #NEWLINE# #UNINDENT# networks = sorted ( networks . items ( ) ) #NEWLINE# networks = [ format ( _ ( '%s as %L' ) , net , nicks ) for ( net , nicks ) in networks ] #NEWLINE# L = [ format ( _ ( 'I am connected to %L.' ) , networks ) ] #NEWLINE# if world . profiling : #NEWLINE# #INDENT# L . append ( _ ( 'I am currently in code profiling mode.' ) ) #NEWLINE# #UNINDENT# irc . reply ( '  ' . join ( irc ) )