Fixed recurring events by passing through Discord session (#2)
Co-authored-by: Layla <layla@layla.gg> Reviewed-on: https://gitea.sumulayla.synology.me/layla/birdbot/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
4
main.go
4
main.go
@@ -73,8 +73,8 @@ func main() {
|
||||
if cfg.Features.ManageEventChannels.IsEnabledByDefault() {
|
||||
loader.LoadComponent(modules.NewManageEventChannelsComponent(cfg.Discord.EventCategory, cfg.Discord.ArchiveCategory, bot.Session))
|
||||
}
|
||||
if cfg.Features.ReccurringEvents.IsEnabledByDefault() {
|
||||
loader.LoadComponent(modules.NewRecurringEventsComponent())
|
||||
if cfg.Features.RecurringEvents.IsEnabledByDefault() {
|
||||
loader.LoadComponent(modules.NewRecurringEventsComponent(bot.Session))
|
||||
}
|
||||
|
||||
if cfg.Features.RoleSelection.IsEnabledByDefault() {
|
||||
|
||||
Reference in New Issue
Block a user