mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
Apparently that import map affects deno run as well, fixed so bot runs now
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { log, LogTypes as LT } from '@Log4Deno';
|
||||
|
||||
import config from '/config.ts';
|
||||
import config from '~config';
|
||||
|
||||
import { currentWorkers, handleRollWorker } from 'artigen/managers/workerManager.ts';
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { DiscordenoMessage, sendDirectMessage, sendMessage } from '@discordeno';
|
||||
import { log, LogTypes as LT } from '@Log4Deno';
|
||||
|
||||
import config from '/config.ts';
|
||||
import { DEVMODE } from '/flags.ts';
|
||||
import config from '~config';
|
||||
import { DEVMODE } from '~flags';
|
||||
|
||||
import { loggingEnabled } from 'artigen/rollUtils.ts';
|
||||
import { SolvedRoll } from 'artigen/solver.d.ts';
|
||||
@@ -26,7 +26,7 @@ export const handleRollWorker = (rq: QueuedRoll) => {
|
||||
const gmModifiers = JSON.parse(JSON.stringify(rq.modifiers));
|
||||
gmModifiers.gmRoll = false;
|
||||
|
||||
const rollWorker = new Worker(new URL('../artigen/rollWorker.ts', import.meta.url).href, { type: 'module' });
|
||||
const rollWorker = new Worker(new URL('../rollWorker.ts', import.meta.url).href, { type: 'module' });
|
||||
|
||||
const workerTimeout = setTimeout(async () => {
|
||||
rollWorker.terminate();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { log, LogTypes as LT } from '@Log4Deno';
|
||||
|
||||
import config from '/config.ts';
|
||||
import config from '~config';
|
||||
|
||||
import { formatRoll } from 'artigen/rollFormatter.ts';
|
||||
import { compareTotalRolls, compareTotalRollsReverse, escapeCharacters, legalMathOperators, loggingEnabled } from 'artigen/rollUtils.ts';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { closeLog, initLog } from '@Log4Deno';
|
||||
|
||||
import { DEBUG } from '/flags.ts';
|
||||
import { DEBUG } from '~flags';
|
||||
|
||||
import { parseRoll } from 'artigen/parser.ts';
|
||||
import { loggingEnabled } from 'artigen/rollUtils.ts';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { log, LogTypes as LT } from '@Log4Deno';
|
||||
|
||||
import config from '/config.ts';
|
||||
import config from '~config';
|
||||
|
||||
import { compareOrigIdx, compareRolls, genFateRoll, genRoll, loggingEnabled } from 'artigen/rollUtils.ts';
|
||||
import { RollConf, RollSet, RollType } from 'artigen/solver.d.ts';
|
||||
|
||||
Reference in New Issue
Block a user