diff --git a/src/status.ts b/src/embed/status.ts similarity index 97% rename from src/status.ts rename to src/embed/status.ts index 27b6486..f3c56e2 100644 --- a/src/status.ts +++ b/src/embed/status.ts @@ -1,9 +1,9 @@ -import { Constants } from './constants'; -import { handleQuote } from './helpers/quote'; -import { formatNumber, sanitizeText } from './helpers/utils'; -import { Strings } from './strings'; -import { getAuthorText } from './helpers/author'; -import { statusAPI } from './api/status'; +import { Constants } from '../constants'; +import { handleQuote } from '../helpers/quote'; +import { formatNumber, sanitizeText } from '../helpers/utils'; +import { Strings } from '../strings'; +import { getAuthorText } from '../helpers/author'; +import { statusAPI } from '../api/status'; export const returnError = (error: string): StatusResponse => { return { diff --git a/src/server.ts b/src/server.ts index 8d8f184..276b7dc 100644 --- a/src/server.ts +++ b/src/server.ts @@ -2,7 +2,7 @@ import Toucan from 'toucan-js'; import { IRequest, Router } from 'itty-router'; import { Constants } from './constants'; -import { handleStatus } from './status'; +import { handleStatus } from './embed/status'; import { Strings } from './strings'; import motd from '../motd.json';