emotechief

package
v0.0.0-...-55f2d51 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSevenTvEmoteId

func GetSevenTvEmoteId(message string) (string, error)

Types

type EmoteChief

type EmoteChief struct {
	// contains filtered or unexported fields
}

func NewEmoteChief

func NewEmoteChief(cfg *config.Config, db store.Store, helixClient helixclient.Client, sevenTvClient emoteservice.ApiClient) *EmoteChief

func (*EmoteChief) HandleSeventvRedemption

func (ec *EmoteChief) HandleSeventvRedemption(reward store.ChannelPointReward, redemption helix.EventSubChannelPointsCustomRewardRedemptionEvent, updateStatus bool)

func (*EmoteChief) VerifySetSevenTvEmote

func (ec *EmoteChief) VerifySetSevenTvEmote(channelUserID, emoteId, channel, redeemedByUsername string, slots int) (emoteAddType dto.EmoteChangeType, removalTargetEmoteId string, nextEmote emoteservice.Emote, err error)

func (*EmoteChief) VerifySeventvRedemption

func (ec *EmoteChief) VerifySeventvRedemption(reward store.ChannelPointReward, redemption helix.EventSubChannelPointsCustomRewardRedemptionEvent) bool

Jump to

Keyboard shortcuts

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