From f53c902c374c2816812232fa98f61632133b6d5b Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sat, 1 Feb 2020 20:47:14 -0700 Subject: [PATCH] fix comments on beer plugin --- plugins/beer.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/beer.go b/plugins/beer.go index e73c5ad..192f82b 100644 --- a/plugins/beer.go +++ b/plugins/beer.go @@ -14,7 +14,7 @@ import ( "github.com/matrix-org/gomatrix" ) -// Beer responds to hi messages +// Beer responds to beer requests type Beer struct { } @@ -129,7 +129,7 @@ func (h *Beer) pretty(b BeerResp, random bool) string { ) } -// Respond to hi events +// Respond to looking up of beer requests func (h *Beer) Respond(c *gomatrix.Client, ev *gomatrix.Event, user string) { if mtype, ok := ev.MessageType(); ok { switch mtype { @@ -159,7 +159,7 @@ func (h *Beer) Respond(c *gomatrix.Client, ev *gomatrix.Event, user string) { } } -// Name hi +// Name Beer! func (h *Beer) Name() string { return "Beer" }