From cbf091a900e792b9c4632aaf9d6fea53ef0a5cd1 Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Tue, 31 Mar 2020 15:18:12 +0000 Subject: [PATCH] documentation --- commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.go b/commands.go index b152243..b652aec 100644 --- a/commands.go +++ b/commands.go @@ -9,6 +9,7 @@ import ( "samhofi.us/x/keybase/types/chat1" ) +// handlePayment controls how the bot reacts to wallet payments in chat func (b *bot) handlePayment(m chat1.MsgSummary) { // there can be multiple payments on each message, iterate them for _, payment := range m.Content.Text.Payments {