Comparing version 1.0.10 to 1.1.0
12
index.js
@@ -52,3 +52,3 @@ /* | ||
setup: false, | ||
version: "1.0.0", | ||
version: "1.1.0", | ||
author: "EhsanFox" | ||
@@ -75,2 +75,12 @@ }; | ||
//Package Modules | ||
commands: function() | ||
{ | ||
let tempData = []; | ||
const cmdFiles = readdirSync(join(__dirname, "commands")).filter((file) => file.endsWith(".js")); | ||
for (const file of cmdFiles) { | ||
const commnd = require(join(__dirname, "commands", `${file}`)); | ||
tempData.push(commnd.name); | ||
} | ||
return tempData; | ||
}, | ||
config: function(token, prefix) | ||
@@ -77,0 +87,0 @@ { |
{ | ||
"name": "discordsb", | ||
"version": "1.0.10", | ||
"version": "1.1.0", | ||
"description": "a Module For Creating Discord Self Bots", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "node test.js" | ||
}, | ||
@@ -9,0 +9,0 @@ "dependencies": { |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
8195
6
179
1
1
16
5