diff --git a/pkg/commands/uptime.go b/pkg/commands/uptime.go index 214ccba..fd6cea1 100644 --- a/pkg/commands/uptime.go +++ b/pkg/commands/uptime.go @@ -10,11 +10,11 @@ import ( func Uptime(channel string, name string, nb *bot.Bot) { resp, err := aiden.ApiCall(fmt.Sprintf("api/v1/twitch/channel/%s/uptime", name)) + if err != nil { nb.Send(channel, "Something went wrong FeelsBadMan") log.Error(err) } nb.Send(channel, resp) - }