mirror-nourybot/internal/commands/ffzemotes.go

21 lines
403 B
Go
Raw Normal View History

2022-08-07 21:43:40 +02:00
package commands
import (
"github.com/gempir/go-twitch-irc/v3"
2023-01-04 15:32:17 +01:00
"github.com/lyx0/nourybot/internal/commands/decapi"
"github.com/lyx0/nourybot/internal/common"
2022-08-07 21:43:40 +02:00
"go.uber.org/zap"
)
func Ffzemotes(target string, tc *twitch.Client) {
sugar := zap.NewExample().Sugar()
defer sugar.Sync()
resp, err := decapi.Ffzemotes(target)
if err != nil {
sugar.Error(err)
}
common.Send(target, resp, tc)
}