Documentation ¶ Index ¶ type Bot func NewBot(token, channelID string) (*Bot, error) func (b *Bot) Handle(_ context.Context, e event.Event) error func (b *Bot) Start(ctx context.Context) error 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 NewBot ¶ func NewBot(token, channelID string) (*Bot, error) func (*Bot) Handle ¶ func (b *Bot) Handle(_ context.Context, e event.Event) error func (*Bot) Start ¶ func (b *Bot) Start(ctx context.Context) error Source Files ¶ View all Source files discord_bot.go discord_event_handler.go Click to show internal directories. Click to hide internal directories.