documentation

This commit is contained in:
2020-03-31 15:18:12 +00:00
parent c08ded2a66
commit cbf091a900

View File

@ -9,6 +9,7 @@ import (
"samhofi.us/x/keybase/types/chat1" "samhofi.us/x/keybase/types/chat1"
) )
// handlePayment controls how the bot reacts to wallet payments in chat
func (b *bot) handlePayment(m chat1.MsgSummary) { func (b *bot) handlePayment(m chat1.MsgSummary) {
// there can be multiple payments on each message, iterate them // there can be multiple payments on each message, iterate them
for _, payment := range m.Content.Text.Payments { for _, payment := range m.Content.Text.Payments {