forgot to fix paths

This commit is contained in:
Cynthia Foxwell 2024-08-02 11:54:58 -06:00
parent 538761fdf0
commit 7042f6b3f5
10 changed files with 30 additions and 30 deletions

View file

@ -1,6 +1,6 @@
const Command = require("../lib/command.js");
const Command = require("../../lib/command.js");
const {formatTime} = require("../util/time.js");
const {formatTime} = require("../../util/time.js");
const DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
const anonradio = new Command("anonradio");

View file

@ -1,15 +1,15 @@
const Command = require("../lib/command.js");
const InteractionCommand = require("../lib/interactionCommand.js");
const {ApplicationCommandOptionTypes} = require("../util/dconstants.js");
const Command = require("../../lib/command.js");
const InteractionCommand = require("../../lib/interactionCommand.js");
const {ApplicationCommandOptionTypes} = require("../../util/dconstants.js");
const {safeString} = require("../util/misc.js");
const {safeString} = require("../../util/misc.js");
const {tinycolor, random: randomColor} = require("@ctrl/tinycolor");
const sharp = require("sharp");
const fs = require("node:fs");
const {resolve} = require("node:path");
const colornamesRaw = fs.readFileSync(resolve(__dirname, "../../data/colornames.csv"), "utf8");
const colornamesRaw = fs.readFileSync(resolve(__dirname, "../../../data/colornames.csv"), "utf8");
const color = new Command("color");
color.category = "misc";

View file

@ -1,7 +1,7 @@
const Command = require("../lib/command.js");
const Command = require("../../lib/command.js");
const {safeString} = require("../util/misc.js");
const {formatTime} = require("../util/time.js");
const {safeString} = require("../../util/misc.js");
const {formatTime} = require("../../util/time.js");
const GENERATE_HEADERS = {
Accept: "application/json",

View file

@ -1,4 +1,4 @@
const Command = require("../lib/command.js");
const Command = require("../../lib/command.js");
const GoogleImages = require("google-images");

View file

@ -1,5 +1,5 @@
const Command = require("../lib/command.js");
const logger = require("../lib/logger.js");
const Command = require("../../lib/command.js");
const logger = require("../../lib/logger.js");
const net = require("node:net");
const {resolveSrv} = require("node:dns/promises");

View file

@ -1,6 +1,6 @@
const Command = require("../lib/command.js");
const Command = require("../../lib/command.js");
const {formatUsername} = require("../util/misc.js");
const {formatUsername} = require("../../util/misc.js");
const poll = new Command("poll");
poll.category = "misc";

View file

@ -1,10 +1,10 @@
const Command = require("../lib/command.js");
const InteractionCommand = require("../lib/interactionCommand.js");
const Command = require("../../lib/command.js");
const InteractionCommand = require("../../lib/interactionCommand.js");
const {ApplicationCommandOptionTypes} = require("../util/dconstants.js");
const {ApplicationCommandOptionTypes} = require("../../util/dconstants.js");
const {safeString} = require("../util/misc.js");
const {parseHtmlEntities} = require("../util/html.js");
const {safeString} = require("../../util/misc.js");
const {parseHtmlEntities} = require("../../util/html.js");
const search = new Command("search");
search.category = "misc";

View file

@ -1,4 +1,4 @@
const Command = require("../lib/command.js");
const Command = require("../../lib/command.js");
const REGEX_IPV4 = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$/;

View file

@ -1,9 +1,9 @@
const Command = require("../lib/command.js");
const InteractionCommand = require("../lib/interactionCommand.js");
const Command = require("../../lib/command.js");
const InteractionCommand = require("../../lib/interactionCommand.js");
const {ApplicationCommandOptionTypes} = require("../util/dconstants.js");
const {ApplicationCommandOptionTypes} = require("../../util/dconstants.js");
const {safeString} = require("../util/misc.js");
const {safeString} = require("../../util/misc.js");
const WA_NO_ANSWER = "<:ms_cross:503341994974773250> No answer.";

View file

@ -1,10 +1,10 @@
const Command = require("../lib/command.js");
const InteractionCommand = require("../lib/interactionCommand.js");
const Command = require("../../lib/command.js");
const InteractionCommand = require("../../lib/interactionCommand.js");
const {ApplicationCommandOptionTypes} = require("../util/dconstants.js");
const {ApplicationCommandOptionTypes} = require("../../util/dconstants.js");
const {safeString} = require("../util/misc.js");
const {parseHtmlEntities} = require("../util/html.js");
const {safeString} = require("../../util/misc.js");
const {parseHtmlEntities} = require("../../util/html.js");
const yt = new Command("youtube");
yt.addAlias("yt");