mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
update common embed location, move some back into their own files
This commit is contained in:
@@ -14,9 +14,10 @@ import { loggingEnabled } from 'artigen/utils/logFlag.ts';
|
||||
import dbClient from 'db/client.ts';
|
||||
import { queries } from 'db/common.ts';
|
||||
|
||||
import { generateCountDetailsEmbed, generateDMFailed, generateRollEmbed } from 'embeds/artigen.ts';
|
||||
|
||||
import stdResp from 'endpoints/stdResponses.ts';
|
||||
|
||||
import { generateCountDetailsEmbed, generateDMFailed, generateRollEmbed } from 'src/commandUtils.ts';
|
||||
import utils from 'src/utils.ts';
|
||||
|
||||
export const onWorkerComplete = async (workerMessage: MessageEvent<SolvedRoll>, workerTimeout: number, rollRequest: QueuedRoll) => {
|
||||
|
||||
@@ -5,9 +5,10 @@ import { RollModifiers } from 'artigen/dice/dice.d.ts';
|
||||
import { removeWorker } from 'artigen/managers/countManager.ts';
|
||||
import { QueuedRoll } from 'artigen/managers/manager.d.ts';
|
||||
|
||||
import { generateRollEmbed } from 'embeds/artigen.ts';
|
||||
|
||||
import stdResp from 'endpoints/stdResponses.ts';
|
||||
|
||||
import { generateRollEmbed } from 'src/commandUtils.ts';
|
||||
import utils from 'src/utils.ts';
|
||||
|
||||
export const terminateWorker = async (rollWorker: Worker, rollRequest: QueuedRoll) => {
|
||||
|
||||
@@ -6,7 +6,9 @@ import { getWorkerCnt } from 'artigen/managers/countManager.ts';
|
||||
import { QueuedRoll } from 'artigen/managers/manager.d.ts';
|
||||
import { handleRollRequest } from 'artigen/managers/workerManager.ts';
|
||||
|
||||
import { infoColor2, rollingEmbed } from 'src/commandUtils.ts';
|
||||
import { rollingEmbed } from 'embeds/artigen.ts';
|
||||
import { infoColor2 } from 'embeds/colors.ts';
|
||||
|
||||
import utils from 'src/utils.ts';
|
||||
|
||||
const rollQueue: Array<QueuedRoll> = [];
|
||||
|
||||
Reference in New Issue
Block a user