3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00

Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)

This commit is contained in:
Dragory 2018-07-12 02:58:34 +03:00
parent e6f296381e
commit 498ebe8939
8 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,5 @@
import { decorators as d, GlobalPlugin } from "knub";
import * as child_process from "child_process";
import child_process from "child_process";
import { Message } from "eris";
/**

View file

@ -3,7 +3,7 @@ import { GuildServerLogs } from "../data/GuildServerLogs";
import { LogType } from "../data/LogType";
import { TextChannel } from "eris";
import { formatTemplateString } from "../utils";
import * as moment from "moment-timezone";
import moment from "moment-timezone";
interface ILogChannel {
include?: LogType[];

View file

@ -1,7 +1,7 @@
import { Plugin, decorators as d, waitForReaction } from "knub";
import { Guild, GuildAuditLogEntry, Member, Message, TextChannel, User } from "eris";
import * as moment from "moment-timezone";
import * as humanizeDuration from "humanize-duration";
import moment from "moment-timezone";
import humanizeDuration from "humanize-duration";
import { GuildCases } from "../data/GuildCases";
import {
convertDelayStringToMS,