Render pug blocks without a separate template

This commit is contained in:
Cadence Ember
2026-09-15 23:42:06 +12:00
parent 9058b60efe
commit 2959fd8ae3
15 changed files with 199 additions and 126 deletions
+4 -4
View File
@@ -13,6 +13,10 @@ const sync = new HeatSync()
Object.assign(passthrough, {sync, db})
const orm = sync.require("../src/db/orm")
passthrough.from = orm.from
passthrough.select = orm.select
const DiscordClient = require("../src/d2m/discord-client")
const discord = new DiscordClient(reg.ooye.discord_token, "half")
@@ -21,10 +25,6 @@ passthrough.discord = discord
const {as} = require("../src/matrix/appservice")
passthrough.as = as
const orm = sync.require("../src/db/orm")
passthrough.from = orm.from
passthrough.select = orm.select
;(async () => {
await migrate.migrate(db)
await discord.cloud.connect()