mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
idk
This commit is contained in:
parent
3846d28565
commit
74096f93fb
1 changed files with 1 additions and 2 deletions
|
@ -9,8 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func Uptime(channel string, name string, nb *bot.Bot) {
|
func Uptime(channel string, name string, nb *bot.Bot) {
|
||||||
resp,
|
resp, err := aiden.ApiCall(fmt.Sprintf("api/v1/twitch/channel/%s/uptime", name))
|
||||||
err := aiden.ApiCall(fmt.Sprintf("api/v1/twitch/channel/%s/uptime", name))
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
nb.Send(channel, "Something went wrong FeelsBadMan")
|
nb.Send(channel, "Something went wrong FeelsBadMan")
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
|
|
Loading…
Reference in a new issue