un-reorder imports

This commit is contained in:
Cynthia Foxwell 2024-05-17 14:36:52 -06:00
parent 6e85237cab
commit a0324d9cfc

View file

@ -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}'`);