This commit is contained in:
lyx0 2021-10-21 00:40:20 +02:00
parent 74096f93fb
commit 3de45edff0

View file

@ -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)
}