forgot to fix paths
This commit is contained in:
parent
538761fdf0
commit
7042f6b3f5
10 changed files with 30 additions and 30 deletions
|
@ -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 DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
||||||
const anonradio = new Command("anonradio");
|
const anonradio = new Command("anonradio");
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
const InteractionCommand = require("../lib/interactionCommand.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 {tinycolor, random: randomColor} = require("@ctrl/tinycolor");
|
const {tinycolor, random: randomColor} = require("@ctrl/tinycolor");
|
||||||
const sharp = require("sharp");
|
const sharp = require("sharp");
|
||||||
const fs = require("node:fs");
|
const fs = require("node:fs");
|
||||||
const {resolve} = require("node:path");
|
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");
|
const color = new Command("color");
|
||||||
color.category = "misc";
|
color.category = "misc";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
|
|
||||||
const {safeString} = require("../util/misc.js");
|
const {safeString} = require("../../util/misc.js");
|
||||||
const {formatTime} = require("../util/time.js");
|
const {formatTime} = require("../../util/time.js");
|
||||||
|
|
||||||
const GENERATE_HEADERS = {
|
const GENERATE_HEADERS = {
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
|
|
||||||
const GoogleImages = require("google-images");
|
const GoogleImages = require("google-images");
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
const logger = require("../lib/logger.js");
|
const logger = require("../../lib/logger.js");
|
||||||
|
|
||||||
const net = require("node:net");
|
const net = require("node:net");
|
||||||
const {resolveSrv} = require("node:dns/promises");
|
const {resolveSrv} = require("node:dns/promises");
|
||||||
|
|
|
@ -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");
|
const poll = new Command("poll");
|
||||||
poll.category = "misc";
|
poll.category = "misc";
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
const InteractionCommand = require("../lib/interactionCommand.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 {parseHtmlEntities} = require("../util/html.js");
|
const {parseHtmlEntities} = require("../../util/html.js");
|
||||||
|
|
||||||
const search = new Command("search");
|
const search = new Command("search");
|
||||||
search.category = "misc";
|
search.category = "misc";
|
||||||
|
|
|
@ -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}$/;
|
const REGEX_IPV4 = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$/;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
const InteractionCommand = require("../lib/interactionCommand.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.";
|
const WA_NO_ANSWER = "<:ms_cross:503341994974773250> No answer.";
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const Command = require("../lib/command.js");
|
const Command = require("../../lib/command.js");
|
||||||
const InteractionCommand = require("../lib/interactionCommand.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 {parseHtmlEntities} = require("../util/html.js");
|
const {parseHtmlEntities} = require("../../util/html.js");
|
||||||
|
|
||||||
const yt = new Command("youtube");
|
const yt = new Command("youtube");
|
||||||
yt.addAlias("yt");
|
yt.addAlias("yt");
|
||||||
|
|
Loading…
Reference in a new issue