twitchirc

package
v0.0.0-...-9648343 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrivilegedBadges = []string{"broadcaster", "moderator", "vip"}

PrivilegedBadges is a standard set of "privileged" badges. These users can bypass some of the standard chat limits.

Functions

func HasAnyOf

func HasAnyOf(badges string, search []string) bool

HasAnyOf checks if the badge string contains any of the desired badges.

func HasBadge

func HasBadge(badges, search string) bool

func NextBadge

func NextBadge(badges string) (badge, label, next string)

NextBadge returns the next badge/label pair in a badge tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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