From a297485a0a0e54bf5942642b633dc31be934da0f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 24 Aug 2022 23:16:04 -0400 Subject: misc --- .yarnrc.yml | 6 +++--- neu-item-repo | 2 +- neu-item-repo-dangerous | 2 +- src/bot.ts | 4 ++++ 4 files changed, 9 insertions(+), 5 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 index 3a694f6..6ca9e1d 160000 --- a/neu-item-repo +++ b/neu-item-repo @@ -1 +1 @@ -Subproject commit 3a694f67fcbacf37b9f2b2d62ac30840601c039d +Subproject commit 6ca9e1d2b01e68b7b2df20e183260c201ff12c0c diff --git a/neu-item-repo-dangerous b/neu-item-repo-dangerous index 3a694f6..6ca9e1d 160000 --- a/neu-item-repo-dangerous +++ b/neu-item-repo-dangerous @@ -1 +1 @@ -Subproject commit 3a694f67fcbacf37b9f2b2d62ac30840601c039d +Subproject commit 6ca9e1d2b01e68b7b2df20e183260c201ff12c0c diff --git a/src/bot.ts b/src/bot.ts index ed8ca65..c9a7a49 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -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) { -- cgit