mirror-nourybot/internal/commands/bttv.go
2023-01-04 15:32:17 +01:00

15 lines
292 B
Go

package commands
import (
"fmt"
"github.com/gempir/go-twitch-irc/v3"
"github.com/lyx0/nourybot/internal/common"
)
func Bttv(target, query string, tc *twitch.Client) {
reply := fmt.Sprintf("https://betterttv.com/emotes/shared/search?query=%s", query)
common.Send(target, reply, tc)
}