Documentation ¶
Overview ¶
Package twitchbee is a Bee that can connect to Twitch.
Index ¶
- type TwitchBee
- type TwitchBeeFactory
- func (factory *TwitchBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *TwitchBeeFactory) Description() string
- func (factory *TwitchBeeFactory) Events() []bees.EventDescriptor
- func (factory *TwitchBeeFactory) ID() string
- func (factory *TwitchBeeFactory) Image() string
- func (factory *TwitchBeeFactory) LogoColor() string
- func (factory *TwitchBeeFactory) Name() string
- func (factory *TwitchBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *TwitchBeeFactory) Options() []bees.BeeOptionDescriptor
- func (factory *TwitchBeeFactory) States() []bees.StateDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TwitchBee ¶
TwitchBee is a Bee that can connect to Twitch.
func (*TwitchBee) Action ¶
func (mod *TwitchBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*TwitchBee) ReloadOptions ¶
func (mod *TwitchBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type TwitchBeeFactory ¶
type TwitchBeeFactory struct {
bees.BeeFactory
}
TwitchBeeFactory is a factory for TwitchBees.
func (*TwitchBeeFactory) Actions ¶
func (factory *TwitchBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*TwitchBeeFactory) Description ¶
func (factory *TwitchBeeFactory) Description() string
Description returns the description of this Bee.
func (*TwitchBeeFactory) Events ¶
func (factory *TwitchBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*TwitchBeeFactory) ID ¶
func (factory *TwitchBeeFactory) ID() string
ID returns the ID of this Bee.
func (*TwitchBeeFactory) Image ¶
func (factory *TwitchBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (*TwitchBeeFactory) LogoColor ¶
func (factory *TwitchBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (*TwitchBeeFactory) Name ¶
func (factory *TwitchBeeFactory) Name() string
Name returns the name of this Bee.
func (*TwitchBeeFactory) New ¶
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 ¶
func (factory *TwitchBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.
func (*TwitchBeeFactory) States ¶
func (factory *TwitchBeeFactory) States() []bees.StateDescriptor
States returns the state values provided by this Bee.