mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
structures -> util
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ const client = new CommandoClient({
|
|||||||
messageCacheLifetime: 600,
|
messageCacheLifetime: 600,
|
||||||
messageSweepInterval: 120
|
messageSweepInterval: 120
|
||||||
});
|
});
|
||||||
const { postStats } = require('./structures/Util');
|
const { postStats } = require('./util/Util');
|
||||||
const { version } = require('./package');
|
const { version } = require('./package');
|
||||||
const whitelist = require('./assets/json/whitelist');
|
const whitelist = require('./assets/json/whitelist');
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { createCanvas, loadImage } = require('canvas');
|
const { createCanvas, loadImage } = require('canvas');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { greyscale } = require('../../structures/Util');
|
const { greyscale } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class GreyscaleCommand extends Command {
|
module.exports = class GreyscaleCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { createCanvas, loadImage } = require('canvas');
|
const { createCanvas, loadImage } = require('canvas');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { invert } = require('../../structures/Util');
|
const { invert } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class InvertCommand extends Command {
|
module.exports = class InvertCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ const { Command } = require('discord.js-commando');
|
|||||||
const { createCanvas, loadImage } = require('canvas');
|
const { createCanvas, loadImage } = require('canvas');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { greyscale } = require('../../structures/Util');
|
const { greyscale } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class RIPCommand extends Command {
|
module.exports = class RIPCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ const { Command } = require('discord.js-commando');
|
|||||||
const { createCanvas, loadImage } = require('canvas');
|
const { createCanvas, loadImage } = require('canvas');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { greyscale } = require('../../structures/Util');
|
const { greyscale } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class ThugLifeCommand extends Command {
|
module.exports = class ThugLifeCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { wait } = require('../../structures/Util');
|
const { wait } = require('../../util/Util');
|
||||||
const words = ['fire', 'draw', 'shoot', 'bang', 'pull'];
|
const words = ['fire', 'draw', 'shoot', 'bang', 'pull'];
|
||||||
|
|
||||||
module.exports = class GunfightCommand extends Command {
|
module.exports = class GunfightCommand extends Command {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { stripIndents } = require('common-tags');
|
const { stripIndents } = require('common-tags');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const difficulties = ['easy', 'medium', 'hard', 'extreme', 'impossible'];
|
const difficulties = ['easy', 'medium', 'hard', 'extreme', 'impossible'];
|
||||||
const operations = ['+', '-', '*'];
|
const operations = ['+', '-', '*'];
|
||||||
const maxValues = {
|
const maxValues = {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { stripIndents } = require('common-tags');
|
const { stripIndents } = require('common-tags');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shuffle, list } = require('../../structures/Util');
|
const { shuffle, list } = require('../../util/Util');
|
||||||
const types = ['multiple', 'boolean'];
|
const types = ['multiple', 'boolean'];
|
||||||
const difficulties = ['easy', 'medium', 'hard'];
|
const difficulties = ['easy', 'medium', 'hard'];
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { stripIndents } = require('common-tags');
|
const { stripIndents } = require('common-tags');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shuffle } = require('../../structures/Util');
|
const { shuffle } = require('../../util/Util');
|
||||||
const { QUIZLET_KEY } = process.env;
|
const { QUIZLET_KEY } = process.env;
|
||||||
|
|
||||||
module.exports = class QuizletGameCommand extends Command {
|
module.exports = class QuizletGameCommand extends Command {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { stripIndents } = require('common-tags');
|
const { stripIndents } = require('common-tags');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const sentences = require('../../assets/json/typing-game');
|
const sentences = require('../../assets/json/typing-game');
|
||||||
const difficulties = ['easy', 'medium', 'hard', 'extreme', 'impossible'];
|
const difficulties = ['easy', 'medium', 'hard', 'extreme', 'impossible'];
|
||||||
const times = {
|
const times = {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { filterPkmn, pad } = require('../../structures/Util');
|
const { filterPkmn, pad } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class WhosThatPokemonCommand extends Command {
|
module.exports = class WhosThatPokemonCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const codes = require('../../assets/json/currency');
|
const codes = require('../../assets/json/currency');
|
||||||
|
|
||||||
module.exports = class CurrencyCommand extends Command {
|
module.exports = class CurrencyCommand extends Command {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const units = ['celsius', 'fahrenheit', 'kelvin'];
|
const units = ['celsius', 'fahrenheit', 'kelvin'];
|
||||||
|
|
||||||
module.exports = class TemperatureCommand extends Command {
|
module.exports = class TemperatureCommand extends Command {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
const { GOV_KEY } = process.env;
|
const { GOV_KEY } = process.env;
|
||||||
|
|
||||||
module.exports = class AstronomyPictureOfTheDayCommand extends Command {
|
module.exports = class AstronomyPictureOfTheDayCommand extends Command {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const signs = require('../../assets/json/horoscope');
|
const signs = require('../../assets/json/horoscope');
|
||||||
|
|
||||||
module.exports = class HoroscopeCommand extends Command {
|
module.exports = class HoroscopeCommand extends Command {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const sounds = ['airhorn', 'cat', 'dun-dun-dun', 'laugh track', 'pikachu', 'space'];
|
const sounds = ['airhorn', 'cat', 'dun-dun-dun', 'laugh track', 'pikachu', 'space'];
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { wait } = require('../../structures/Util');
|
const { wait } = require('../../util/Util');
|
||||||
const frames = [
|
const frames = [
|
||||||
'(-°□°)- ┬─┬',
|
'(-°□°)- ┬─┬',
|
||||||
'(╯°□°)╯ ]',
|
'(╯°□°)╯ ]',
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { shuffle } = require('../../structures/Util');
|
const { shuffle } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class KissMarryKillCommand extends Command {
|
module.exports = class KissMarryKillCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const genders = ['male', 'female', 'both'];
|
const genders = ['male', 'female', 'both'];
|
||||||
|
|
||||||
module.exports = class NameCommand extends Command {
|
module.exports = class NameCommand extends Command {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class ShipCommand extends Command {
|
module.exports = class ShipCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class AnimeCommand extends Command {
|
module.exports = class AnimeCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class BulbapediaCommand extends Command {
|
module.exports = class BulbapediaCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const countries = ['us', 'jp'];
|
const countries = ['us', 'jp'];
|
||||||
|
|
||||||
module.exports = class ITunesCommand extends Command {
|
module.exports = class ITunesCommand extends Command {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class MangaCommand extends Command {
|
module.exports = class MangaCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
const { TMDB_KEY } = process.env;
|
const { TMDB_KEY } = process.env;
|
||||||
|
|
||||||
module.exports = class MovieCommand extends Command {
|
module.exports = class MovieCommand extends Command {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class NASACommand extends Command {
|
module.exports = class NASACommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class NPMCommand extends Command {
|
module.exports = class NPMCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ const { Command } = require('discord.js-commando');
|
|||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { stripIndents } = require('common-tags');
|
const { stripIndents } = require('common-tags');
|
||||||
const { filterPkmn, pad } = require('../../structures/Util');
|
const { filterPkmn, pad } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class PokedexCommand extends Command {
|
module.exports = class PokedexCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class RottenTomatoesCommand extends Command {
|
module.exports = class RottenTomatoesCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class StudioGhibliCommand extends Command {
|
module.exports = class StudioGhibliCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
const { TMDB_KEY } = process.env;
|
const { TMDB_KEY } = process.env;
|
||||||
|
|
||||||
module.exports = class TVShowCommand extends Command {
|
module.exports = class TVShowCommand extends Command {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class UrbanCommand extends Command {
|
module.exports = class UrbanCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten, duration } = require('../../structures/Util');
|
const { shorten, duration } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class VocaloidCommand extends Command {
|
module.exports = class VocaloidCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
const { WATTPAD_KEY } = process.env;
|
const { WATTPAD_KEY } = process.env;
|
||||||
|
|
||||||
module.exports = class WattpadCommand extends Command {
|
module.exports = class WattpadCommand extends Command {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class WikiaCommand extends Command {
|
module.exports = class WikiaCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { shorten } = require('../../structures/Util');
|
const { shorten } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class WikipediaCommand extends Command {
|
module.exports = class WikipediaCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { pad } = require('../../structures/Util');
|
const { pad } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class BinaryCommand extends Command {
|
module.exports = class BinaryCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { shuffle } = require('../../structures/Util');
|
const { shuffle } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class OrganizationXIIINameCommand extends Command {
|
module.exports = class OrganizationXIIINameCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { shuffle } = require('../../structures/Util');
|
const { shuffle } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class ShuffleCommand extends Command {
|
module.exports = class ShuffleCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const snekfetch = require('snekfetch');
|
const snekfetch = require('snekfetch');
|
||||||
const { list } = require('../../structures/Util');
|
const { list } = require('../../util/Util');
|
||||||
const codes = require('../../assets/json/translate');
|
const codes = require('../../assets/json/translate');
|
||||||
const { YANDEX_KEY } = process.env;
|
const { YANDEX_KEY } = process.env;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const { version } = require('../../package');
|
const { version } = require('../../package');
|
||||||
const { duration } = require('../../structures/Util');
|
const { duration } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class InfoCommand extends Command {
|
module.exports = class InfoCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { duration } = require('../../structures/Util');
|
const { duration } = require('../../util/Util');
|
||||||
|
|
||||||
module.exports = class UptimeCommand extends Command {
|
module.exports = class UptimeCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|||||||
Reference in New Issue
Block a user