mirror-nourybot/pkg/commands/bttv.go

15 lines
287 B
Go
Raw Normal View History

2021-10-23 21:59:56 +02:00
package commands
import (
"fmt"
"github.com/lyx0/nourybot/cmd/bot"
)
2021-10-31 14:57:21 +01:00
// Bttv responds with a search for a given bttv emote.
2021-10-24 17:52:24 +02:00
func Bttv(target, emote string, nb *bot.Bot) {
2021-10-23 21:59:56 +02:00
reply := fmt.Sprintf("https://betterttv.com/emotes/shared/search?query=%s", emote)
nb.Send(target, reply)
}