mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
Fix moment import in index.ts
This commit is contained in:
parent
15b7da82e8
commit
8234f67b0f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue