mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Move status.ts to embed/status.ts
This commit is contained in:
parent
57c03d0455
commit
56bcec02b7
2 changed files with 7 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
||||||
import { Constants } from './constants';
|
import { Constants } from '../constants';
|
||||||
import { handleQuote } from './helpers/quote';
|
import { handleQuote } from '../helpers/quote';
|
||||||
import { formatNumber, sanitizeText } from './helpers/utils';
|
import { formatNumber, sanitizeText } from '../helpers/utils';
|
||||||
import { Strings } from './strings';
|
import { Strings } from '../strings';
|
||||||
import { getAuthorText } from './helpers/author';
|
import { getAuthorText } from '../helpers/author';
|
||||||
import { statusAPI } from './api/status';
|
import { statusAPI } from '../api/status';
|
||||||
|
|
||||||
export const returnError = (error: string): StatusResponse => {
|
export const returnError = (error: string): StatusResponse => {
|
||||||
return {
|
return {
|
|
@ -2,7 +2,7 @@ import Toucan from 'toucan-js';
|
||||||
|
|
||||||
import { IRequest, Router } from 'itty-router';
|
import { IRequest, Router } from 'itty-router';
|
||||||
import { Constants } from './constants';
|
import { Constants } from './constants';
|
||||||
import { handleStatus } from './status';
|
import { handleStatus } from './embed/status';
|
||||||
import { Strings } from './strings';
|
import { Strings } from './strings';
|
||||||
|
|
||||||
import motd from '../motd.json';
|
import motd from '../motd.json';
|
||||||
|
|
Loading…
Add table
Reference in a new issue