def User(user)
      return user if user.is_a?(User)
      if user == bot.nick
        bot
      else
        bot.user_list.find_ensured(user)
      end
    end
def User(user)
      return user if user.is_a?(User)
      if user == bot.nick
        bot
      else
        bot.user_list.find_ensured(user)
      end
    end
Helper method for turning a String into an {User} object.

 @param [String] user a user's nickname
 @return [User] an {User} object
 @example
   on :message, /^tell me everything about (.+)$/ do |m, target|
     user = User(target)
     m.reply "%s is named %s and connects from %s" % [user.nick, user.name, user.host]
   end
 @since 1.0.0