code: func (line *Line) Target() string {
  	// TODO(fluffle): Add 005 CHANTYPES parsing for this?
  	switch line.Cmd {
  	case PRIVMSG, NOTICE, ACTION:
  		if !line.Public() {
  			return line.Nick
  		}
  	case CTCP, CTCPREPLY:
  		if !line.Public() {
  			return line.Nick
  		}
  		return line.Args[1]
  	}
  	if len(line.Args) > 0 {
  		return line.Args[0]
  	}
  	return ""
  }
docs: // Target returns the contextual target of the line, usually the first Arg
  // for the IRC verb. If the line was broadcast from a channel, the target
  // will be that channel. If the line was sent directly by a user, the target
  // will be that user.