def METHOD_NAME(self, user, channel, msg):
    user = user.split("!")[0]
    if self.nickname.lower() == channel.lower():
        d = self.factory.getUser(msg)
        d.addErrback(catchError)
        d.addCallback(lambda m: f"Status of {msg}: {m}")
        d.addCallback(lambda m: self.msg(user, m))