Documentation ¶
Index ¶
- func ConfigCommandOptions() mod.ConfigCommandOptions
- func Provider(logger *slog.Logger) (mod.ModuleProviderResult, error)
- type GuildConfig
- type Module
- func (m *Module) Config() []GuildConfig
- func (m *Module) Name() string
- func (m *Module) ReloadConfig(ctx context.Context, discord *discordgo.Session, db *store.Queries) error
- func (m *Module) SetConfig(config []GuildConfig)
- func (m *Module) Start(ctx context.Context, discord *discordgo.Session, db *store.Queries) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigCommandOptions ¶
func ConfigCommandOptions() mod.ConfigCommandOptions
Types ¶
type GuildConfig ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) Config ¶
func (m *Module) Config() []GuildConfig
func (*Module) ReloadConfig ¶
func (*Module) SetConfig ¶
func (m *Module) SetConfig(config []GuildConfig)
Click to show internal directories.
Click to hide internal directories.