mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
15 lines
287 B
Go
15 lines
287 B
Go
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/lyx0/nourybot/cmd/bot"
|
|
)
|
|
|
|
// Bttv responds with a search for a given bttv emote.
|
|
func Bttv(target, emote string, nb *bot.Bot) {
|
|
reply := fmt.Sprintf("https://betterttv.com/emotes/shared/search?query=%s", emote)
|
|
|
|
nb.Send(target, reply)
|
|
}
|