From eebc610720a3deaeafdbc9ab3b039a25df357d3b Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Tue, 31 Mar 2020 16:58:34 +0000 Subject: [PATCH] documentation --- commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands.go b/commands.go index 5b263f8..6503d61 100644 --- a/commands.go +++ b/commands.go @@ -76,6 +76,7 @@ func (b *bot) handleFeedback(m chat1.MsgSummary) { } } +// handleSetCommand processes all settings SET calls func (b *bot) handleSetCommand(m chat1.MsgSummary) { // first normalize the text and extract the arguments args := strings.Fields(strings.ToLower(m.Content.Text.Body)) @@ -126,6 +127,7 @@ func (b *bot) handleSetCommand(m chat1.MsgSummary) { } } +// handleListCommand lists settings for the conversation func (b *bot) handleListCommand(m chat1.MsgSummary) { // first normalize the text and extract the arguments args := strings.Fields(strings.ToLower(m.Content.Text.Body))