mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
add bot name modularity
This commit is contained in:
parent
a4c15f2d78
commit
f4b4b63faa
3 changed files with 20 additions and 2 deletions
|
@ -109,7 +109,9 @@ class Roleypoly {
|
|||
this.ctx.sql = sequelize
|
||||
this.M = fetchModels(sequelize)
|
||||
this.ctx.M = this.M
|
||||
await sequelize.sync()
|
||||
if (!process.env.DB_NO_SYNC) {
|
||||
await sequelize.sync()
|
||||
}
|
||||
|
||||
this.ctx.server = new ServerService(this.ctx)
|
||||
this.ctx.discord = new DiscordService(this.ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue