remove migrations

This commit is contained in:
Aine
2022-08-31 10:33:13 +03:00
parent 67f504f888
commit 104e948b9c
10 changed files with 10 additions and 54 deletions

View File

@@ -37,7 +37,6 @@ func New(
log *logger.Logger,
prefix string,
domain string,
envUsers []string,
admins []string,
) (*Bot, error) {
b := &Bot{
@@ -50,7 +49,7 @@ func New(
lp: lp,
mu: map[id.RoomID]*sync.Mutex{},
}
users, err := b.initBotUsers(envUsers)
users, err := b.initBotUsers()
if err != nil {
return nil, err
}
@@ -66,7 +65,7 @@ func New(
}
b.allowedAdmins = allowedAdmins
b.commands = b.buildCommandList()
b.commands = b.initCommands()
return b, nil
}