Documentation ¶ Index ¶ type Bot func New(name string, cfg config.DiscordConfig) *Bot func (b *Bot) GetMessageChan(ctx context.Context) <-chan *service.Message func (b *Bot) GetName() string func (b *Bot) HandleResult(req *service.Message, r *service.Result) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bot ¶ type Bot struct { // contains filtered or unexported fields } func New ¶ func New(name string, cfg config.DiscordConfig) *Bot func (*Bot) GetMessageChan ¶ func (b *Bot) GetMessageChan(ctx context.Context) <-chan *service.Message func (*Bot) GetName ¶ added in v0.1.0 func (b *Bot) GetName() string func (*Bot) HandleResult ¶ added in v0.0.9 func (b *Bot) HandleResult(req *service.Message, r *service.Result) Source Files ¶ View all Source files discord.go Click to show internal directories. Click to hide internal directories.