Comparing version 1.0.5 to 1.0.6
@@ -76,3 +76,3 @@ /* | ||
{ | ||
if(token != 'string' || prefix != 'string') return console.log(red(`[ERROR]: `)+`Please Enter Token and Prefix as a String!`); | ||
if(typeof token != 'string' || typeof prefix != 'string') return console.log(red(`[ERROR]: `)+`Please Enter Token and Prefix as a String!`); | ||
ClientData.prefix = prefix; | ||
@@ -96,3 +96,3 @@ ClientData.token = token; | ||
if(!NPMData.config) return console.log(red(`[ERROR]: `)+`Please config your application!`); | ||
if(cmdName != 'string' || cmdName != 'object') return console.log(red(`[ERROR]: `)+'Commands for load can be a string or an array only!'); | ||
if(typeof cmdName != 'string' || typeof cmdName != 'object') return console.log(red(`[ERROR]: `)+'Commands for load can be a string or an array only!'); | ||
@@ -99,0 +99,0 @@ if(cmdName == 'string') |
{ | ||
"name": "discordsb", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "a Module For Creating Discord Self Bots", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7264