diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-24 23:16:04 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-24 23:16:04 -0400 |
commit | a297485a0a0e54bf5942642b633dc31be934da0f (patch) | |
tree | 04159a5002ef6b55067834c385ffd7b7ff55168b | |
parent | 31b05eeb34f1d9e9d89718333e0ec59cd405fc51 (diff) | |
download | tanzanite-a297485a0a0e54bf5942642b633dc31be934da0f.tar.gz tanzanite-a297485a0a0e54bf5942642b633dc31be934da0f.tar.bz2 tanzanite-a297485a0a0e54bf5942642b633dc31be934da0f.zip |
misc
-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) { |