mirror-nourybot/pkg/commands/color.go

15 lines
276 B
Go
Raw Normal View History

2021-10-14 22:18:31 +02:00
package commands
import (
"fmt"
"github.com/gempir/go-twitch-irc/v2"
)
func Color(message twitch.PrivateMessage, client *twitch.Client) {
reply := fmt.Sprintf("@%v, your color is %v", message.User.DisplayName, message.User.Color)
client.Say(message.Channel, reply)
}