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

discord.js

Package Overview
Dependencies
Maintainers
1
Versions
1737
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js - npm Package Compare versions

Comparing version 3.1.6 to 3.2.0

4

examples/auth.json
{
"email" : "riftes@outlook.com",
"password" : "bananaman"
"email" : "your discord email here",
"password" : "your discord password here"
}

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ //discord.js modules

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

{
"name": "discord.js",
"version": "3.1.6",
"version": "3.2.0",
"description": "A way to interface with the Discord API",

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

@@ -1,2 +0,6 @@

# discord.js
<p align="center">
<a href="https://hydrabolt.github.io/discord.js">
<img alt="discord.js" src="http://hydrabolt.github.io/discord.js/res/logo.png" width="546">
</a>
</p>

@@ -3,0 +7,0 @@ [![Build Status](https://travis-ci.org/hydrabolt/discord.js.svg)](https://travis-ci.org/hydrabolt/discord.js)

@@ -39,4 +39,8 @@ class Channel {

}
get isPrivate(){
return false;
}
}
module.exports = Channel;

@@ -0,1 +1,3 @@

var PMChannel = require("./PMChannel.js");
class Message{

@@ -30,2 +32,6 @@ constructor(data, channel, mentions, author){

}
get isPrivate(){
return this.channel.isPrivate;
}
}

@@ -32,0 +38,0 @@

@@ -23,4 +23,8 @@ class PMChannel {

}
get isPrivate(){
return true;
}
}
module.exports = PMChannel;
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