mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 05:49:49 +02:00
Fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const answers = require('../../assets/json/8-ball');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const words = require('../../assets/json/word-list');
|
||||
|
||||
module.exports = class AcrosticCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class AdviceCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const affirmations = require('../../assets/json/affirmation');
|
||||
|
||||
module.exports = class AffirmationCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const teachings = require('../../assets/json/axis-cult');
|
||||
|
||||
module.exports = class AxisCultCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class BoredomCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndent } = require('common-tags');
|
||||
const answers = ['yes', 'no'];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
|
||||
module.exports = class ChooseCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class ChuckNorrisCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const sides = ['heads', 'tails'];
|
||||
|
||||
module.exports = class CoinCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const compliments = require('../../assets/json/compliment');
|
||||
|
||||
module.exports = class ComplimentCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const Deck = require('../../structures/cards/Deck');
|
||||
|
||||
module.exports = class DrawCardsCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const facts = require('../../assets/json/fact-core');
|
||||
|
||||
module.exports = class FactCoreCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class FactCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const { randomRange } = require('../../util/Util');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const fortunes = require('../../assets/json/fortune');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class GithubZenCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const quotes = require('../../assets/json/incorrect-quote');
|
||||
|
||||
module.exports = class IncorrectQuoteCommand 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 blacklistFlags = ['religious', 'racist', 'sexist'];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { shuffle } = require('../../util/Util');
|
||||
|
||||
module.exports = class KissMarryKillCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class LightNovelTitleCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { firstUpperCase } = require('../../util/Util');
|
||||
const words = require('../../assets/json/lorem-ipsum');
|
||||
const firstSentence = ['Lorem', 'ipsum', 'dolor', 'sit', 'amet,', 'consectetur', 'adipiscing', 'elit'];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const answers = require('../../assets/json/magic-conch');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { list } = require('../../util/Util');
|
||||
const genders = ['male', 'female', 'both'];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { safe, nsfw } = require('../../assets/json/never-have-i-ever');
|
||||
const all = [...safe, ...nsfw];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const SubredditCommand = require('../../structures/commands/Subreddit');
|
||||
const SubredditCommand = require('../../framework/Commands/Subreddit');
|
||||
const { list } = require('../../util/Util');
|
||||
const subreddits = require('../../assets/json/news');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class NumberFactCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const genders = ['boy', 'girl'];
|
||||
|
||||
module.exports = class OffspringCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const opinions = ['👍', '👎'];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const quotes = require('../../assets/json/oracle-turret');
|
||||
|
||||
module.exports = class OracleTurretCommand 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 blacklistFlags = ['religious', 'racist', 'sexist'];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const sides = [NaN, 0, null, undefined, ''];
|
||||
|
||||
module.exports = class QuantumCoinCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const quotes = require('../../assets/json/quote');
|
||||
|
||||
module.exports = class QuoteCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
|
||||
module.exports = class RandomUserCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { shuffle } = require('../../util/Util');
|
||||
|
||||
module.exports = class RankCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
|
||||
module.exports = class RateCommand extends Command {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const roasts = require('../../assets/json/roast');
|
||||
|
||||
module.exports = class RoastCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { randomRange, formatNumber } = require('../../util/Util');
|
||||
|
||||
module.exports = class RollCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const crypto = require('crypto');
|
||||
|
||||
module.exports = class SecurityKeyCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const SubredditCommand = require('../../structures/commands/Subreddit');
|
||||
const SubredditCommand = require('../../framework/Commands/Subreddit');
|
||||
|
||||
module.exports = class ShowerThoughtCommand extends SubredditCommand {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { start, end } = require('../../assets/json/smw-level');
|
||||
|
||||
module.exports = class SmwLevelCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const SubredditCommandBase = require('../../structures/commands/Subreddit');
|
||||
const SubredditCommandBase = require('../../framework/Commands/Subreddit');
|
||||
|
||||
module.exports = class SubredditCommand extends SubredditCommandBase {
|
||||
constructor(client) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
module.exports = class SuggestCommandCommand 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');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const RSS = require('rss-parser');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
|
||||
module.exports = class ThisForThatCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const UserAgent = require('user-agents');
|
||||
|
||||
module.exports = class UserAgentCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const words = require('../../assets/json/word-list');
|
||||
|
||||
module.exports = class WordCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const facts = require('../../assets/json/xiao-fact');
|
||||
|
||||
module.exports = class XiaoFactCommand extends Command {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const answers = ['😄 Yes', '🙁 No'];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const Command = require('../../framework/Command');
|
||||
const jokes = require('../../assets/json/yo-mama');
|
||||
|
||||
module.exports = class YoMamaCommand extends Command {
|
||||
|
||||
Reference in New Issue
Block a user