chat

package
v0.0.0-...-9986994 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int2Bool

func Int2Bool(num uint8) bool

func Log

func Log(message twitch.PrivateMessage)

func NewChat

func NewChat(chatopt Options) *twitch.Client

NewChat cria e faz a conexão com o cliente de chat.

func Permission

func Permission(message twitch.PrivateMessage, perms ...string) bool

func PermissionAND

func PermissionAND(message twitch.PrivateMessage, perms ...string) bool

func Say

func Say(client *twitch.Client, channel, message string)

Say envia uma mensagem no chat do canal.

Types

type Options

type Options struct {
	Username string
	OAuth    string
	Channel  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL