import "github.com/muesli/beehive/bees/discordbee"
Package discordbee is a bee for sending and receiving messages with Discord servers.
discordbee.go discordbeefactory.go
DiscordBee is a bee for sending and receiving messages with Discord servers.
func (mod *DiscordBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (mod *DiscordBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
func (mod *DiscordBee) Run(eventChan chan bees.Event)
Run executes the Bee's event loop.
type DiscordBeeFactory struct { bees.BeeFactory }
DiscordBeeFactory is a factory for DiscordBees.
func (factory *DiscordBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (factory *DiscordBeeFactory) Description() string
Description returns the description of this Bee.
func (factory *DiscordBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (factory *DiscordBeeFactory) ID() string
ID returns the ID of this Bee.
func (factory *DiscordBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (factory *DiscordBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (factory *DiscordBeeFactory) Name() string
Name returns the name of this Bee.
func (factory *DiscordBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (factory *DiscordBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.
Package discordbee imports 2 packages (graph) and is imported by 3 packages. Updated 2019-05-10. Refresh now. Tools for package owners.