3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix moment import in index.ts

This commit is contained in:
Dragory 2018-07-08 13:58:45 +03:00
parent 15b7da82e8
commit 8234f67b0f

View file

@ -8,7 +8,7 @@ process.on("unhandledRejection", (reason, p) => {
// Always use UTC // Always use UTC
// This is also set for the database in knexfile // This is also set for the database in knexfile
import moment from "moment-timezone"; import * as moment from "moment-timezone";
moment.tz.setDefault("UTC"); moment.tz.setDefault("UTC");
import { Client } from "eris"; import { Client } from "eris";
@ -26,7 +26,7 @@ knex.migrate.latest().then(() => {
const bot = new Knub(client, { const bot = new Knub(client, {
plugins: { plugins: {
utility: UtilityPlugin, utility: UtilityPlugin,
mod_notes: ModActionsPlugin mod_actions: ModActionsPlugin
}, },
globalPlugins: { globalPlugins: {
bot_control: BotControlPlugin bot_control: BotControlPlugin