Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discordsb

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discordsb - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

10

index.js

@@ -76,3 +76,3 @@ /*

{
if(typeof token != String || typeof prefix != String) return console.log(red(`[ERROR]: `)+`Please Enter Token and Prefix as a String!`);
if(token != 'string' || prefix != 'string') return console.log(red(`[ERROR]: `)+`Please Enter Token and Prefix as a String!`);
ClientData.prefix = prefix;

@@ -96,5 +96,5 @@ ClientData.token = token;

if(!NPMData.config) return console.log(red(`[ERROR]: `)+`Please config your application!`);
if(typeof cmdName != String || typeof cmdName != Array) return console.log(red(`[ERROR]: `)+'Commands for load can be a string or an array only!');
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)
if(cmdName == 'string')
{

@@ -105,3 +105,3 @@ if(!Commands.includes(cmdName)) return console.log(red(`[ERROR]: `)+`${cmdName} not exist, please load a valid command!`);

}
else if(typeof cmdName == Array)
else if(cmdName == 'object')
{

@@ -118,3 +118,3 @@ cmdName.forEach(cmd => {

{
if(!NPMData.config || !NPMData.command) return console.log(red(`[ERROR]: `)+`Please config your application and load at least one command!`);
if(!NPMData.config || !NPMData.command) return console.log(red(`[ERROR]: `)+`Please config your application and load at least one command![SETUP ERROR]`);

@@ -121,0 +121,0 @@ console.log(yellow(`[WARNING]:`)+` PLEASE NOT THAT YOUR ACCOUNT IS AT RISK`);

{
"name": "discordsb",
"version": "1.0.4",
"version": "1.0.5",
"description": "a Module For Creating Discord Self Bots",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc