1
0
Fork 0

more fixes

refactor/models
Matthew 2020-12-18 19:04:09 -05:00
parent b987a09d21
commit dee85f87f8
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
4 changed files with 87 additions and 88 deletions

View File

@ -4,9 +4,9 @@
import net from 'net'; import net from 'net';
import crypto from 'crypto'; import crypto from 'crypto';
import { promises as fs } from 'fs'; import { promises as fs } from 'fs';
import { Client, Collection, Context, TCPHandler } from '../class'; import { Client, Collection, Context, TCPHandler } from '.';
import * as handlerFiles from './handlers'; import * as handlerFiles from '../cscli/handlers';
export default class CSCLI { export default class CSCLI {
public client: Client; public client: Client;

View File

@ -4,10 +4,9 @@ import mongoose from 'mongoose';
import signale from 'signale'; import signale from 'signale';
import fs from 'fs-extra'; import fs from 'fs-extra';
import config from '../config.json'; import config from '../config.json';
import CSCLI from '../cscli/main';
import { Account, AccountInterface, Moderation, ModerationInterface, Domain, DomainInterface, Tier, TierInterface } from '../models'; import { Account, AccountInterface, Moderation, ModerationInterface, Domain, DomainInterface, Tier, TierInterface } from '../models';
import { emojis } from '../stores'; import { emojis } from '../stores';
import { Command, Util, Collection, Server, Event } from '.'; import { Command, CSCLI, Util, Collection, Server, Event } from '.';
export default class Client extends Eris.Client { export default class Client extends Eris.Client {

View File

@ -3,6 +3,7 @@ export { default as Client } from './Client';
export { default as Collection } from './Collection'; export { default as Collection } from './Collection';
export { default as Command } from './Command'; export { default as Command } from './Command';
export { default as Context } from './Context'; export { default as Context } from './Context';
export { default as CSCLI } from './CSCLI';
export { default as Event } from './Event'; export { default as Event } from './Event';
export { default as LocalStorage } from './LocalStorage'; export { default as LocalStorage } from './LocalStorage';
export { default as Report } from './Report'; export { default as Report } from './Report';

View File

@ -1 +0,0 @@
export { default as CSCLI } from './main';