mirror-nourybot/pkg/commands/whois.go

14 lines
277 B
Go
Raw Normal View History

2021-10-29 21:55:19 +02:00
package commands
import (
"github.com/lyx0/nourybot/cmd/bot"
"github.com/lyx0/nourybot/pkg/api/ivr"
)
2021-10-31 14:57:21 +01:00
// Whois responds with information about a given users Twitch account.
2021-10-29 21:55:19 +02:00
func Whois(target, user string, nb *bot.Bot) {
reply := ivr.Whois(user)
nb.Send(target, reply)
}