mirror-nourybot/internal/commands/ffz.go

15 lines
284 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"
2023-01-04 15:32:17 +01:00
"github.com/lyx0/nourybot/internal/common"
2022-08-07 18:10:40 +02:00
)
2022-08-07 21:43:40 +02:00
func Ffz(target, query string, tc *twitch.Client) {
reply := fmt.Sprintf("https://www.frankerfacez.com/emoticons/?q=%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
}