forked from engineering/cloudservices
Import export tidy
parent
c2fa0ce2a7
commit
5a7b05d040
|
@ -35,6 +35,7 @@
|
|||
"no-restricted-syntax": "off",
|
||||
"camelcase": "off",
|
||||
"indent": "warn",
|
||||
"object-curly-newline": "off"
|
||||
"object-curly-newline": "off",
|
||||
"import/prefer-default-export": "off"
|
||||
}
|
||||
}
|
|
@ -4,12 +4,10 @@ import Eris from 'eris';
|
|||
import mongoose from 'mongoose';
|
||||
import fs from 'fs-extra';
|
||||
import path from 'path';
|
||||
import config from './config.json';
|
||||
import Account, { AccountInterface } from './models/Account';
|
||||
import Moderation, { ModerationInterface } from './models/Moderation';
|
||||
import emojis from './stores/emojis';
|
||||
import Util from './Util';
|
||||
import Command from './class/Command';
|
||||
import { config, Util } from '.';
|
||||
import { Account, AccountInterface, Moderation, ModerationInterface } from './models';
|
||||
import { emojis } from './stores';
|
||||
import { Command } from './class';
|
||||
|
||||
|
||||
export default class Client extends Eris.Client {
|
||||
|
|
|
@ -2,8 +2,8 @@ import { promisify } from 'util';
|
|||
import childProcess from 'child_process';
|
||||
import nodemailer from 'nodemailer';
|
||||
import { Message } from 'eris';
|
||||
import Client from './Client';
|
||||
import Command from './class/Command';
|
||||
import { Client } from '.';
|
||||
import { Command } from './class';
|
||||
|
||||
export default class Util {
|
||||
public client: Client;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Message } from 'eris';
|
||||
import Client from '../Client';
|
||||
import { Client } from '..';
|
||||
|
||||
export default class Command {
|
||||
name: string
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import fs from 'fs-extra';
|
||||
import { Message } from 'eris';
|
||||
import Client from '../Client';
|
||||
import Command from '../class/Command';
|
||||
import Util from '../Util';
|
||||
import { Client, Util } from '..';
|
||||
import { Command } from '../class';
|
||||
|
||||
export default class Lock extends Command {
|
||||
util: Util = new Util(this.client)
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
import { Message } from 'eris';
|
||||
import { createPaginationEmbed } from 'eris-pagination';
|
||||
import Client from '../Client';
|
||||
import Command from '../class/Command';
|
||||
import RichEmbed from '../class/RichEmbed';
|
||||
import Util from '../Util';
|
||||
import { Client, Util } from '..';
|
||||
import { Command, RichEmbed } from '../class';
|
||||
|
||||
export default class Modlogs extends Command {
|
||||
util: Util = new Util(this.client)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { Message } from 'eris';
|
||||
import Client from '../Client';
|
||||
import Command from '../class/Command';
|
||||
import Util from '../Util';
|
||||
import { Client, Util } from '..';
|
||||
import { Command } from '../class';
|
||||
|
||||
export default class Ping extends Command {
|
||||
util: Util = new Util(this.client)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { Message, TextChannel } from 'eris';
|
||||
import Client from '../Client';
|
||||
import { prefix } from '../config.json';
|
||||
import Util from '../Util';
|
||||
import { Client, config, Util } from '..';
|
||||
import Command from '../class/Command';
|
||||
|
||||
const { prefix } = config;
|
||||
|
||||
export default class {
|
||||
client: Client
|
||||
|
||||
|
|
Loading…
Reference in New Issue