Remove Common, Rework External Chat Support, & Bugfixes

This commit is contained in:
2023-06-19 03:07:03 -04:00
parent 5e4698495c
commit 2a2f6aeeb0
28 changed files with 81 additions and 146 deletions

View File

@@ -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))