def _user(self, irc, channel, user, any=False):
        if any:
            db = self.anydb
        else:
            db = self.db
        try:
            (when, said) = db.seen(channel, user.id)
            reply = format(_('%s was last seen in %s %s ago'),
                             user.name, channel,
                             utils.timeElapsed(time.time()-when))
            if self.registryValue('showLastMessage', channel):
                reply = _('%s: %s') % (reply, said)
            irc.reply(reply)
        except __HOLE__:
            irc.reply(format(_('I have not seen %s.'), user.name))
dataset/ETHPy150Open ProgVal/Limnoria/plugins/Seen/plugin.py/Seen._user