SB-6.3-BETA 2

Added Moderation
Added Node Modules
This commit is contained in:
ItzEmerald committed 2021-03-27 16:22:19 +00:00
1 parent 60daab82d2
commit 09aad61cfe
385 files changed
+78314 -20

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
exports.require = function loader(list) {
const errorLog = [];
for (const [name, fn] of list) {
try {
const data = fn(require(name));
data.name = name;
return data;
} catch (e) {
errorLog.push(e);
}
}
throw new Error(errorLog.join('\n'));
};