discord

package
v0.0.0-...-0adc22c Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 9 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(cfg config.HummusConfig) (discordBot Bot, err error)

func (*Bot) PipeToDiscord

func (bot *Bot) PipeToDiscord(jid types.JID, client *whatsmeow.Client, v *events.Message)

func (*Bot) Run

func (bot *Bot) Run() (err error)

func (*Bot) Stop

func (bot *Bot) Stop() (err error)

Jump to

Keyboard shortcuts

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