discord

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscordBot

func NewDiscordBot() func(p NewDiscordBotParam) *discordbot.BotService

func NewModules

func NewModules() fx.Option

func Run

func Run() func(b *discordbot.BotService) error

Types

type NewDiscordBotParam

type NewDiscordBotParam struct {
	fx.In

	Lifecycle fx.Lifecycle

	Logger *logger.Logger
	Config *configs.Config

	Listeners *listeners.Listeners
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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