commit
deb159ae29
@ -1,64 +1,15 @@
|
|||||||
Blur = require('./module/filters/blur')
|
const { readdirSync } = require("fs");
|
||||||
Gay = require('./module/filters/gay')
|
const { join } = require("path");
|
||||||
Greyscale = require('./module/filters/greyscale')
|
|
||||||
Invert = require('./module/filters/invert')
|
for (let type of readdirSync(join(__dirname, "module")).filter(
|
||||||
Sepia = require('./module/filters/sepia')
|
f => !f.includes(".")
|
||||||
|
)) {
|
||||||
Triggered = require('./module/gif/triggered')
|
readdirSync(join(__dirname, "module", type))
|
||||||
Blink = require('./module/gif/blink')
|
.filter(file => file !== "index.js" && file.endsWith(".js"))
|
||||||
|
.map(File => {
|
||||||
Ad = require('./module/montage/ad')
|
const Name = File.split(".")[0];
|
||||||
Affect = require('./module/montage/affect')
|
exports[
|
||||||
Batslap = require('./module/montage/batslap')
|
Name.charAt(0).toUpperCase() + Name.slice(1)
|
||||||
Beautiful = require('./module/montage/beautiful')
|
] = require(`${__dirname}/module/${type}/${File}`);
|
||||||
Bed = require('./module/montage/bed')
|
});
|
||||||
Delete = require('./module/montage/delete')
|
}
|
||||||
Facepalm = require('./module/montage/facepalm')
|
|
||||||
Hitler = require('./module/montage/hitler')
|
|
||||||
Jail = require('./module/montage/jail')
|
|
||||||
Kiss = require('./module/montage/kiss')
|
|
||||||
LisaPresentation = require('./module/montage/lisa-presentation')
|
|
||||||
Mms = require('./module/montage/mms')
|
|
||||||
Podium = require('./module/montage/podium')
|
|
||||||
Poutine = require('./module/montage/poutine')
|
|
||||||
Rip = require('./module/montage/rip')
|
|
||||||
Spank = require('./module/montage/spank')
|
|
||||||
Tatoo = require('./module/montage/tatoo')
|
|
||||||
Thomas = require('./module/montage/thomas')
|
|
||||||
Trash = require('./module/montage/trash')
|
|
||||||
Wanted = require('./module/montage/wanted')
|
|
||||||
|
|
||||||
Circle = require('./module/utils/circle')
|
|
||||||
Color = require('./module/utils/color')
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
Blur,
|
|
||||||
Gay,
|
|
||||||
Greyscale,
|
|
||||||
Invert,
|
|
||||||
Sepia,
|
|
||||||
Triggered,
|
|
||||||
Blink,
|
|
||||||
Ad,
|
|
||||||
Affect,
|
|
||||||
Batslap,
|
|
||||||
Beautiful,
|
|
||||||
Bed,
|
|
||||||
Delete,
|
|
||||||
Facepalm,
|
|
||||||
Hitler,
|
|
||||||
Jail,
|
|
||||||
Kiss,
|
|
||||||
LisaPresentation,
|
|
||||||
Mms,
|
|
||||||
Podium,
|
|
||||||
Poutine,
|
|
||||||
Rip,
|
|
||||||
Spank,
|
|
||||||
Tatoo,
|
|
||||||
Thomas,
|
|
||||||
Trash,
|
|
||||||
Wanted,
|
|
||||||
Circle,
|
|
||||||
Color,
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue