mirror-nourybot/pkg/commands/randomduck.go

13 lines
204 B
Go
Raw Normal View History

2021-10-20 17:27:00 +02:00
package commands
import (
"github.com/lyx0/nourybot/cmd/bot"
"github.com/lyx0/nourybot/pkg/api"
)
func RandomDuck(channel string, nb *bot.Bot) {
reply := api.RandomDuck()
nb.Send(channel, reply)
}