diff options
-rw-r--r-- | .yarnrc.yml | 6 | ||||
m--------- | neu-item-repo | 0 | ||||
m--------- | neu-item-repo-dangerous | 0 | ||||
-rw-r--r-- | src/bot.ts | 4 |
4 files changed, 7 insertions, 3 deletions
diff --git a/.yarnrc.yml b/.yarnrc.yml index c800e03..e600016 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -6,12 +6,12 @@ nodeLinker: pnpm plugins: - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs - spec: '@yarnpkg/plugin-interactive-tools' + spec: "@yarnpkg/plugin-interactive-tools" - path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs - spec: '@yarnpkg/plugin-typescript' + spec: "@yarnpkg/plugin-typescript" pnpEnableEsmLoader: true pnpMode: loose -yarnPath: .yarn/releases/yarn-3.2.2.cjs +yarnPath: .yarn/releases/yarn-3.2.3.cjs diff --git a/neu-item-repo b/neu-item-repo -Subproject 3a694f67fcbacf37b9f2b2d62ac30840601c039 +Subproject 6ca9e1d2b01e68b7b2df20e183260c201ff12c0 diff --git a/neu-item-repo-dangerous b/neu-item-repo-dangerous -Subproject 3a694f67fcbacf37b9f2b2d62ac30840601c039 +Subproject 6ca9e1d2b01e68b7b2df20e183260c201ff12c0 @@ -15,6 +15,10 @@ const isDry = process.argv.includes('dry'); if (!isDry && config.credentials.sentryDsn !== null) new Sentry(dirname(fileURLToPath(import.meta.url)) || process.cwd(), config); BushClient.extendStructures(); const client = new BushClient(config); + +// @ts-ignore: for debugging purposes +global.client = client; + if (!isDry) await client.dbPreInit(); await client.init(); if (isDry) { |