From 79fd1c0e356aa1bf50aaee2e544fc553aa84f722 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Sat, 10 Jul 2021 11:11:30 -0400 Subject: [PATCH] Add token auth --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 75a28e5..2bb238a 100644 --- a/commands.go +++ b/commands.go @@ -38,7 +38,7 @@ func authenticate(m chat1.MsgSummary) { } parts := strings.Split(m.Content.Text.Body, " ") if len(parts) != 3 || len(parts) != 2 { - k.SendMessageByConvID(m.ConvID, "Invalid input for command authenticate. Requires username and password. This information is not stored in keybase, or logged.") + k.SendMessageByConvID(m.ConvID, "Invalid input for command authenticate. Requires username and password. This information is not stored in keybase, or logged. %+v", len(parts)) return } log.LogDebug("Proper amount of parameters has been received, calling login()")