Add POSTMOOGLE_ADMINS

This commit is contained in:
Slavi Pantaleev
2022-08-29 09:10:31 +03:00
parent 77a7e9efc6
commit a62dc0df4f
5 changed files with 47 additions and 19 deletions

View File

@@ -87,7 +87,7 @@ func initBot(cfg *config.Config) {
// nolint // Fatal = panic, not os.Exit()
log.Fatal("cannot initialize matrix bot: %v", err)
}
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.NoOwner, cfg.Federation, cfg.Users)
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.NoOwner, cfg.Federation, cfg.Users, cfg.Admins)
log.Debug("bot has been created")
}