From 8234f67b0f959c992ed5dd3ce2592e90cbd601dc Mon Sep 17 00:00:00 2001 From: Dragory Date: Sun, 8 Jul 2018 13:58:45 +0300 Subject: [PATCH] Fix moment import in index.ts --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8f5b5e04..da380e33 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ process.on("unhandledRejection", (reason, p) => { // Always use UTC // This is also set for the database in knexfile -import moment from "moment-timezone"; +import * as moment from "moment-timezone"; moment.tz.setDefault("UTC"); import { Client } from "eris"; @@ -26,7 +26,7 @@ knex.migrate.latest().then(() => { const bot = new Knub(client, { plugins: { utility: UtilityPlugin, - mod_notes: ModActionsPlugin + mod_actions: ModActionsPlugin }, globalPlugins: { bot_control: BotControlPlugin