mirror-nourybot/pkg/commands/subage.go

13 lines
279 B
Go
Raw Normal View History

2021-10-16 00:56:08 +02:00
package commands
import (
"github.com/gempir/go-twitch-irc/v2"
2021-10-17 17:24:23 +02:00
"github.com/lyx0/nourybot/pkg/api/ivr"
2021-10-16 00:56:08 +02:00
)
func Subage(channel string, username string, streamer string, client *twitch.Client) {
2021-10-17 17:24:23 +02:00
ivrResponse := ivr.Subage(username, streamer)
client.Say(channel, ivrResponse)
2021-10-16 00:56:08 +02:00
}