mirror-nourybot/pkg/commands/godocs.go

14 lines
238 B
Go
Raw Normal View History

2021-10-14 23:04:41 +02:00
package commands
import (
"fmt"
"github.com/gempir/go-twitch-irc/v2"
)
func Godocs(channel string, searchTerm string, client *twitch.Client) {
resp := fmt.Sprintf("https://godocs.io/?q=%s", searchTerm)
client.Say(channel, resp)
}