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:
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
|
// 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue