beehive: Index | Files

package twitchbee

import ""

Package twitchbee is a Bee that can connect to Twitch.


Package Files

twitchbee.go twitchbeefactory.go

type TwitchBee Uses

type TwitchBee struct {
    // contains filtered or unexported fields

TwitchBee is a Bee that can connect to Twitch.

func (*TwitchBee) Action Uses

func (mod *TwitchBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*TwitchBee) ReloadOptions Uses

func (mod *TwitchBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

func (*TwitchBee) Run Uses

func (mod *TwitchBee) Run(eventChan chan bees.Event)

Run executes the Bee's event loop.

type TwitchBeeFactory Uses

type TwitchBeeFactory struct {

TwitchBeeFactory is a factory for TwitchBees.

func (*TwitchBeeFactory) Actions Uses

func (factory *TwitchBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*TwitchBeeFactory) Description Uses

func (factory *TwitchBeeFactory) Description() string

Description returns the description of this Bee.

func (*TwitchBeeFactory) Events Uses

func (factory *TwitchBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*TwitchBeeFactory) ID Uses

func (factory *TwitchBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TwitchBeeFactory) Image Uses

func (factory *TwitchBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TwitchBeeFactory) LogoColor Uses

func (factory *TwitchBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*TwitchBeeFactory) Name Uses

func (factory *TwitchBeeFactory) Name() string

Name returns the name of this Bee.

func (*TwitchBeeFactory) New Uses

func (factory *TwitchBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*TwitchBeeFactory) Options Uses

func (factory *TwitchBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

func (*TwitchBeeFactory) States Uses

func (factory *TwitchBeeFactory) States() []bees.StateDescriptor

States returns the state values provided by this Bee.

Package twitchbee imports 5 packages (graph) and is imported by 2 packages. Updated 2020-04-27. Refresh now. Tools for package owners.