Remove Common, Rework External Chat Support, & Bugfixes (!5)
Co-authored-by: Layla <layla@layla.gg> Reviewed-on: https://gitea.sumulayla.synology.me/layla/birdbot/pulls/5
This commit was merged in pull request #5.
This commit is contained in:
2
main.go
2
main.go
@@ -65,7 +65,7 @@ func main() {
|
||||
log.Fatal("Failed to initialize: ", err)
|
||||
}
|
||||
|
||||
loader := app.NewComponentLoader(bot)
|
||||
loader := app.NewComponentLoader(bot, configDir)
|
||||
|
||||
if cfg.Features.AnnounceEvents.IsEnabledByDefault() {
|
||||
loader.LoadComponent(modules.NewAnnounceEventsComponent(bot.Mastodon, cfg.Discord.NotificationChannel))
|
||||
|
||||
Reference in New Issue
Block a user