Remove extended Command class

This commit is contained in:
Daniel Odendahl Jr
2017-09-29 00:49:17 +00:00
parent 9fb95df18a
commit 38a1e11b02
201 changed files with 208 additions and 228 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage, registerFont } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage } = require('canvas');
const snekfetch = require('snekfetch');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
const { stripIndents } = require('common-tags');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class BattleCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const emojis = ['⬆', '↗', '➡', '↘', '⬇', '↙', '⬅', '↖'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const fishes = require('../../assets/json/fishy');
module.exports = class FishyCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { wait } = require('../../structures/Util');
const words = ['fire', 'draw', 'shoot', 'bang', 'pull'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { stripIndents } = require('common-tags');
const { WORDNIK_KEY } = process.env;
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class LotteryCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const math = require('mathjs');
const { stripIndents } = require('common-tags');
const { list } = require('../../structures/Util');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const snekfetch = require('snekfetch');
const { shuffle, list } = require('../../structures/Util');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const choices = ['rock', 'paper', 'scissors'];
module.exports = class RockPaperScissorsCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const slots = ['🍇', '🍊', '🍐', '🍒', '🍋'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class TicTacToeCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const { list } = require('../../structures/Util');
const sentences = require('../../assets/json/typing-game');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
const { filterPkmn } = require('../../structures/Util');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const types = {
dm: 'DM',
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class EmojiCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const { util } = require('discord.js-commando');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const filterLevels = ['Off', 'No Role', 'Everyone'];
const verificationLevels = ['None', 'Low', 'Medium', '(╯°□°)╯︵ ┻━┻', '┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class AchievementCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas, loadImage, registerFont } = require('canvas');
const { stripIndents } = require('common-tags');
const path = require('path');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { createCanvas } = require('canvas');
module.exports = class ColorCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { list } = require('../../structures/Util');
const { IMGFLIP_USER, IMGFLIP_PASS } = process.env;
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const pokemon = require('../../assets/json/pokemon-fusion');
module.exports = class PokemonFusionCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class RobohashCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class BanCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class ClearChannelCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class HackbanCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class KickCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class LockdownCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class PruneCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class SoftbanCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class UnbanCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { list } = require('../../structures/Util');
const codes = require('../../assets/json/currency');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const math = require('mathjs');
module.exports = class MathCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { list } = require('../../structures/Util');
const units = ['celsius', 'fahrenheit', 'kelvin'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class CatCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class DogCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const nimbats = require('../../assets/json/fidget');
module.exports = class FidgetCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const xiaos = require('../../assets/json/xiao');
module.exports = class XiaoCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const answers = require('../../assets/json/8-ball');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const facts = require('../../assets/json/cat-fact');
module.exports = class CatFactCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class ChooseCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class ChuckNorrisCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const sides = ['heads', 'tails'];
module.exports = class CoinCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const compliments = require('../../assets/json/compliment');
module.exports = class ComplimentCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const facts = require('../../assets/json/dog-fact');
module.exports = class DogFactCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const facts = require('../../assets/json/fact-core');
module.exports = class FactCoreCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { stripIndents } = require('common-tags');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class JokeCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
const answers = ['Maybe someday', 'Nothing', 'Neither', 'I don\'t think so', 'Yes', 'Try asking again'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { list } = require('../../structures/Util');
const genders = ['male', 'female', 'both'];
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
const { NYTIMES_KEY } = process.env;
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class NumberFactCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const genders = ['boy', 'girl'];
module.exports = class OffspringCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const sides = ['on nothing', 'on NaN', 'on 0', 'in the air', 'on null'];
module.exports = class QuantumCoinCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class QuoteCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class RateWaifuCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const roasts = require('../../assets/json/roast');
module.exports = class RoastCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class RollCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class RouletteCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const crypto = require('crypto');
module.exports = class SecurityKeyCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { list } = require('../../structures/Util');
module.exports = class ShipCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { stripIndents } = require('common-tags');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class CanYouNotCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class CoolnessCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class DarkThemeLightThemeCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class DaysUntilCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class EatPantCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
module.exports = class GenderGuessCommand extends Command {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class GiveFlowerCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const { MessageEmbed } = require('discord.js');
const snekfetch = require('snekfetch');
const { list } = require('../../structures/Util');
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class ItsJokeCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class LennyCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
module.exports = class LMGTFYCommand extends Command {
constructor(client) {
+1 -1
View File
@@ -1,4 +1,4 @@
const Command = require('../../structures/Command');
const { Command } = require('discord.js-commando');
const snekfetch = require('snekfetch');
const { GOOGLE_KEY } = process.env;

Some files were not shown because too many files have changed in this diff Show More