mirror-nourybot/pkg/commands/bttv.go

15 lines
287 B
Go
Raw Normal View History

2022-08-07 18:10:40 +02:00
package commands
import (
2022-08-07 21:43:40 +02:00
"fmt"
2022-08-07 18:10:40 +02:00
"github.com/gempir/go-twitch-irc/v3"
"github.com/lyx0/nourybot/pkg/common"
)
2022-08-07 21:43:40 +02:00
func Bttv(target, query string, tc *twitch.Client) {
reply := fmt.Sprintf("https://betterttv.com/emotes/shared/search?query=%s", query)
2022-08-07 18:10:40 +02:00
2022-08-07 21:43:40 +02:00
common.Send(target, reply, tc)
2022-08-07 18:10:40 +02:00
}