discord

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL