From 6f94890a3d3019681fd8f66d68cdc12133ec47d6 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Wed, 20 Oct 2021 00:33:17 +0200 Subject: [PATCH] call commandUsed with every command --- pkg/handlers/command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index f360df5..6cc9735 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -13,6 +13,8 @@ import ( func Command(message twitch.PrivateMessage, nb *bot.Bot) { logrus.Info("fn Command") + utils.CommandUsed() + // commandName is the actual command name without the prefix. commandName := strings.ToLower(strings.SplitN(message.Message, " ", 3)[0][2:])