beehive: Index | Files

package cleverbotbee

import ""

Package cleverbotbee is a Bee that can interact with cleverbot


Package Files

cleverbotbee.go cleverbotbeefactory.go

type CleverbotBee Uses

type CleverbotBee struct {
    // contains filtered or unexported fields

CleverbotBee is a Bee that can chat with cleverbot

func (*CleverbotBee) Action Uses

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

Action triggers the action passed to it.

func (*CleverbotBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*CleverbotBee) Run Uses

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

Run executes the Bee's event loop.

type CleverbotBeeFactory Uses

type CleverbotBeeFactory struct {

CleverbotBeeFactory is a factory for CleverbotBees.

func (*CleverbotBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*CleverbotBeeFactory) Description Uses

func (factory *CleverbotBeeFactory) Description() string

Description returns the description of this Bee.

func (*CleverbotBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*CleverbotBeeFactory) ID Uses

func (factory *CleverbotBeeFactory) ID() string

ID returns the ID of this Bee.

func (*CleverbotBeeFactory) Image Uses

func (factory *CleverbotBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*CleverbotBeeFactory) LogoColor Uses

func (factory *CleverbotBeeFactory) LogoColor() string

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

func (*CleverbotBeeFactory) Name Uses

func (factory *CleverbotBeeFactory) Name() string

Name returns the name of this Bee.

func (*CleverbotBeeFactory) New Uses

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

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

func (*CleverbotBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package cleverbotbee imports 2 packages (graph) and is imported by 6 packages. Updated 2017-10-16. Refresh now. Tools for package owners.