Add heatsync and support hot reloading

This commit is contained in:
Papa
2023-03-05 09:05:35 -07:00
parent 7913b68c41
commit 11e5cd7f77
7 changed files with 155 additions and 106 deletions

10
passthrough.js Normal file
View File

@@ -0,0 +1,10 @@
/**
* @typedef {Object} Passthrough
* @property {import("repl").REPLServer} repl
* @property {typeof import("./config")} config
* @property {import("./modules/DiscordClient")} discord
* @property {import("heatsync")} sync
*/
/** @type {Passthrough} */
const pt = {}
module.exports = pt