Versions in this module Expand all Collapse all v0 v0.0.4 Aug 20, 2020 Changes in this version type UnaryServiceConfig + Timeout time.Duration v0.0.3 Aug 18, 2020 Changes in this version + func MessageEmbedStyle_default(msg *proto.BotMsg, message *discordgo.MessageCreate) (sends []*discordgo.MessageSend) + type Instance struct + func NewInstance(token string) (*Instance, error) + func (instance *Instance) Close() error + func (instance *Instance) Open() error + func (instance *Instance) SetUnaryService(bots *lib.BotsHandler, config UnaryServiceConfig) + type MessagePreprocessor func(msg string) (match bool, cmd string, arg *proto.Input) + func Preprocessor_prefix(prefix string) MessagePreprocessor + type MessageStyle func(pb_out *proto.BotMsg, message_data *discordgo.MessageCreate) (message []*discordgo.MessageSend) + type UnaryServiceConfig struct + func NewUnaryServiceConfig(preprocessor MessagePreprocessor, style MessageStyle) (config UnaryServiceConfig)