From 56bcec02b7c3951edc76f06d75bcada221896efd Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 12 May 2023 16:32:59 -0400 Subject: [PATCH] Move status.ts to embed/status.ts --- src/{ => embed}/status.ts | 12 ++++++------ src/server.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) rename src/{ => embed}/status.ts (97%) 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';