diff --git a/cmd/bot/banphrase.go b/cmd/bot/banphrase.go index 9fda7f4..8a41882 100644 --- a/cmd/bot/banphrase.go +++ b/cmd/bot/banphrase.go @@ -38,7 +38,7 @@ var ( // More information: // https://gist.github.com/pajlada/57464e519ba8d195a97ddcd0755f9715 func CheckMessage(text string) (bool, string) { - log.Info("fn CheckMessage") + // log.Info("fn CheckMessage") // {"message": "AHAHAHAHA LUL"} reqBody, err := json.Marshal(map[string]string{ diff --git a/pkg/api/ivr/emoteloookup.go b/pkg/api/ivr/emoteloookup.go index 8951fc1..3f8ece7 100644 --- a/pkg/api/ivr/emoteloookup.go +++ b/pkg/api/ivr/emoteloookup.go @@ -36,7 +36,7 @@ func EmoteLookup(emote string) (string, error) { var responseObject emoteLookupResponse json.Unmarshal(body, &responseObject) - log.Info(responseObject.Tier) + // log.Info(responseObject.Tier) // Emote not found if responseObject.Error != "" { diff --git a/pkg/api/ivr/followage.go b/pkg/api/ivr/followage.go index 8b48089..b0b18d0 100644 --- a/pkg/api/ivr/followage.go +++ b/pkg/api/ivr/followage.go @@ -22,6 +22,7 @@ type followageApiResponse struct { // Followage returns the time since a given user followed a given streamer func Followage(streamer string, username string) (string, error) { baseUrl := "https://api.ivr.fi/twitch/subage" + resp, err := http.Get(fmt.Sprintf("%s/%s/%s", baseUrl, username, streamer)) if err != nil { log.Error(err) diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index c9e7813..c8a40bf 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -7,13 +7,12 @@ import ( "github.com/lyx0/nourybot/cmd/bot" "github.com/lyx0/nourybot/pkg/commands" "github.com/lyx0/nourybot/pkg/utils" - "github.com/sirupsen/logrus" ) // Command contains all the logic for routing mesasges containing commands // and will forward the messages to the specific command handlers. func Command(message twitch.PrivateMessage, nb *bot.Bot) { - logrus.Info("fn Command") + // logrus.Info("fn Command") utils.CommandUsed() diff --git a/pkg/handlers/privatemessage.go b/pkg/handlers/privatemessage.go index 2a4e632..b3de8c8 100644 --- a/pkg/handlers/privatemessage.go +++ b/pkg/handlers/privatemessage.go @@ -9,7 +9,7 @@ import ( // PrivateMessage checks messages for correctness and forwards // commands to the command handler. func PrivateMessage(message twitch.PrivateMessage, nb *bot.Bot) { - log.Info("fn PrivateMessage") + // log.Info("fn PrivateMessage") // log.Info(message) // roomId is the Twitch UserID of the channel the message