Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotService ¶
func NewBotService ¶
func NewBotService[E bot.Event]( f func(e E), cfg configs.SectionDiscord, logger *logger.Logger, ) *BotService
func (*BotService) Run ¶
func (b *BotService) Run() error
func (*BotService) SetLogger ¶
func (b *BotService) SetLogger(logger *logger.Logger)
func (*BotService) Stop ¶
func (b *BotService) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.