This commit is contained in:
lyx0 2021-10-21 00:19:48 +02:00
parent 3846d28565
commit 74096f93fb

View file

@ -9,8 +9,7 @@ import (
)
func Uptime(channel string, name string, nb *bot.Bot) {
resp,
err := aiden.ApiCall(fmt.Sprintf("api/v1/twitch/channel/%s/uptime", name))
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)