Registry / networking / gempir-go-twitch-irc-v2

gempir-go-twitch-irc-v2

JSON →
library2.8.1gogounverified

A Go library for connecting to Twitch IRC chat, providing a simple interface for sending and receiving messages.

go get github.com/gempir/go-twitch-irc/v2
INSTALL
IMPORT
SIG · GEMPIR-GO-TWITCH-I
G
gempir-go-twitch-irc-v2
networkinggov2.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

twitch
github.com/gempir/go-twitch-irc/v2

Connects to Twitch IRC and listens for messages in a channel.

package main import ( "fmt" "github.com/gempir/go-twitch-irc/v2" ) func main() { client := twitch.NewClient("username", "oauth:token") client.OnPrivateMessage(func(message twitch.PrivateMessage) { fmt.Println(message.Message) }) client.Join("#channel") client.Connect() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.8.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
gempir-go-twitch-irc-v2 — go get gempir-go-twitch-irc-v2 · libregistry