cmd/gopherbot: remove automatic troubleshooting comment

I think the usefulness of this has run its course. There's very little
evidence that anyone is ever actually reading the troubleshooting guide.

Change-Id: I903e39c870bbafa377c72ae40b1b0bbffccfb37e
Reviewed-on: https://go-review.googlesource.com/c/build/+/241271
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
diff --git a/cmd/gopherbot/gopherbot.go b/cmd/gopherbot/gopherbot.go
index 023258a..36d2e97 100644
--- a/cmd/gopherbot/gopherbot.go
+++ b/cmd/gopherbot/gopherbot.go
@@ -33,7 +33,6 @@
 	"golang.org/x/build/devapp/owners"
 	"golang.org/x/build/gerrit"
 	"golang.org/x/build/internal/foreach"
-	"golang.org/x/build/internal/gophers"
 	"golang.org/x/build/internal/secret"
 	"golang.org/x/build/maintner"
 	"golang.org/x/build/maintner/godata"
@@ -948,18 +947,7 @@
 		if gi.Closed || gi.PullRequest || !isGoplsTitle(gi.Title) || gi.HasLabel("gopls") || gi.HasEvent("unlabeled") {
 			return nil
 		}
-		if err := b.addLabel(ctx, b.gorepo.ID(), gi, "gopls"); err != nil {
-			return err
-		}
-		// Check if the person filing the issue is known through Gerrit.
-		// If not, add a comment directing them to the troubleshooting guide.
-		if person := gophers.GetPerson("@" + gi.User.Login); person != nil {
-			return nil
-		}
-		const comment = "Thank you for filing a gopls issue! Please take a look at the " +
-			"[Troubleshooting guide](https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#troubleshooting), " +
-			"and make sure that you have provided all of the relevant information here."
-		return b.addGitHubComment(ctx, b.gorepo, gi.Number, comment)
+		return b.addLabel(ctx, b.gorepo.ID(), gi, "gopls")
 	})
 }