From 3de45edff09d8d8ca10560599ad3b63093298059 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Thu, 21 Oct 2021 00:40:20 +0200 Subject: [PATCH] format --- pkg/commands/uptime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) - }