load order fix
This commit is contained in:
parent
b61ba47fe4
commit
2784c573b6
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,6 @@ const apikeys = require("../apikeys.json");
|
||||||
const Command = require("./lib/command.js");
|
const Command = require("./lib/command.js");
|
||||||
const events = require("./lib/events.js");
|
const events = require("./lib/events.js");
|
||||||
const timer = require("./lib/timer.js");
|
const timer = require("./lib/timer.js");
|
||||||
const {pomello} = require("./lib/utils.js");
|
|
||||||
|
|
||||||
const bot = new Dysnomia.Client(config.token, {
|
const bot = new Dysnomia.Client(config.token, {
|
||||||
defaultImageFormat: "png",
|
defaultImageFormat: "png",
|
||||||
|
@ -48,6 +47,7 @@ global.hf = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
||||||
|
const {pomello} = require("./lib/utils.js");
|
||||||
|
|
||||||
for (const file of fs.readdirSync(resolve(__dirname, "modules"))) {
|
for (const file of fs.readdirSync(resolve(__dirname, "modules"))) {
|
||||||
require(resolve(__dirname, "modules", file));
|
require(resolve(__dirname, "modules", file));
|
||||||
|
|
Loading…
Reference in a new issue