messagefx

package
v0.0.0-...-6b7fec4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(fx.Provide(New))

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In
	Session *discordgo.Session
	Log     *zap.Logger
	DB      *sql.DB
}

type Result

type Result struct {
	fx.Out
	Store Store
}

func New

func New(p Params) (Result, error)

type Store

type Store interface {
	GetMessage(messageID string) (*discordgo.Message, error)
}

Jump to

Keyboard shortcuts

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