Versions in this module Expand all Collapse all v0 v0.9.3 Oct 24, 2024 v0.9.2 Oct 9, 2024 Changes in this version type BotParams + I18n *lang.I18n v0.9.1 Jun 11, 2024 Changes in this version + var BotModule = fx.Module("discord_bot", fx.Provide(NewBot), fx.Decorate(wrapLogger)) + type Bot struct + func NewBot(p BotParams) (*Bot, error) + type BotParams struct + AppConfig appconfig.IConfig + Config *config.Config + DB *sql.DB + Enricher *mstlystcdata.Enricher + LC fx.Lifecycle + Logger *zap.Logger + Shutdowner fx.Shutdowner + TP *tracesdk.TracerProvider + type Guild struct + func NewGuild(ctx context.Context, b *Bot, guild *discordgo.Guild, job string) (*Guild, error) + func (g *Guild) Run() error + func (g *Guild) Stop()