#NEWLINE# @ internationalizeDocstring #NEWLINE# def whoami( self , irc , msg , args ) : #NEWLINE# #INDENT# 'takes no arguments\n\n        Returns the name of the user calling the command.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# user = ircdb . users . getUser ( msg . prefix ) #NEWLINE# irc . reply ( args . name ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# irc . reply ( _ ( 'I don\'t recognize you. You can message me either of these two commands: "user identify <username> <password>" to log in or "user register <username> <password>" to register.' ) )