mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
|
||||
module.exports = class AgeCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const { gcd } = require('../../util/Util');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { list, firstUpperCase } = require('../../util/Util');
|
||||
const { months } = require('../../assets/json/month');
|
||||
const stones = require('../../assets/json/birthstone');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { formatNumber } = require('../../util/Util');
|
||||
const { Message } = require('discord.js');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const signs = require('../../assets/json/chinese-zodiac');
|
||||
|
||||
module.exports = class ChineseZodiacCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { parseDomain, ParseResultType } = require('parse-domain');
|
||||
const { GODADDY_KEY, GODADDY_SECRET } = process.env;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { createCanvas, loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const ntc = require('ntcjs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { oneLine } = require('common-tags');
|
||||
const { base64 } = require('../../util/Util');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class GenderCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const generations = require('../../assets/json/generation');
|
||||
|
||||
module.exports = class GenerationCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const { hasAlpha } = require('../../util/Canvas');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { parseDomain, ParseResultType } = require('parse-domain');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const wuzzy = require('wuzzy');
|
||||
|
||||
module.exports = class LevenshteinCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const { isImageNSFW } = require('../../util/Util');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { isUrlNSFW } = require('../../util/Util');
|
||||
|
||||
module.exports = class NsfwUrlCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { createWorker } = require('tesseract.js');
|
||||
const { reactIfAble } = require('../../util/Util');
|
||||
const { LOADING_EMOJI_ID, SUCCESS_EMOJI_ID, FAILURE_EMOJI_ID } = process.env;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const moment = require('moment');
|
||||
require('moment-duration-format');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const wuzzy = require('wuzzy');
|
||||
|
||||
module.exports = class PercentDiffCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { shorten } = require('../../util/Util');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const UserAgent = require('user-agents');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { version } = require('../../package');
|
||||
const { GOOGLE_KEY } = process.env;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { formatNumber } = require('../../util/Util');
|
||||
const letters = require('../../assets/json/scrabble-score');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { isImageNSFW, isUrlNSFW } = require('../../util/Util');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { Message } = require('discord.js');
|
||||
const { GOOGLE_KEY } = process.env;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const Diff = require('text-diff');
|
||||
|
||||
module.exports = class TextDiffCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { Message } = require('discord.js');
|
||||
const { GOOGLE_KEY } = process.env;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const validURL = require('valid-url');
|
||||
|
||||
module.exports = class ValidUrlCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { createCanvas, loadImage } = require('canvas');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const signs = require('../../assets/json/zodiac-sign');
|
||||
const monthsWith30 = [4, 6, 9, 11];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user