un-reorder imports
This commit is contained in:
parent
6e85237cab
commit
a0324d9cfc
1 changed files with 4 additions and 3 deletions
|
@ -9,12 +9,9 @@ const config = require("../config.json");
|
|||
const apikeys = require("../apikeys.json");
|
||||
|
||||
const events = require("./lib/events.js");
|
||||
const {formatUsername} = require("./lib/utils.js");
|
||||
const timer = require("./lib/timer.js");
|
||||
const Command = require("./lib/command.js");
|
||||
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
||||
const InteractionCommand = require("./lib/interactionCommand.js");
|
||||
const {InteractionDispatcher} = require("./lib/interactionDispatcher.js");
|
||||
|
||||
const bot = new Dysnomia.Client(config.token, {
|
||||
defaultImageFormat: "png",
|
||||
|
@ -58,6 +55,10 @@ global.hf = {
|
|||
database,
|
||||
};
|
||||
|
||||
const {formatUsername} = require("./lib/utils.js");
|
||||
const CommandDispatcher = require("./lib/commandDispatcher.js");
|
||||
const {InteractionDispatcher} = require("./lib/interactionDispatcher.js");
|
||||
|
||||
for (const file of fs.readdirSync(resolve(__dirname, "modules"))) {
|
||||
require(resolve(__dirname, "modules", file));
|
||||
logger.info("hf:modules", `Loaded module: '${file}'`);
|
||||
|
|
Loading…
Reference in a new issue