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.3.1 to 3.3.2

.vscode/settings.json

5

lib/Client.js

@@ -1378,3 +1378,4 @@ //discord.js modules

if (pmc.user.equals(destination)) {
return pmc.id;
resolve(pmc.id);
return;
}

@@ -1400,2 +1401,3 @@ }

self.startPM(destination).then(function (pmc) {
console.log(pmc);
resolve(pmc.id);

@@ -1512,2 +1514,3 @@ })["catch"](reject);

return new Promise(function (resolve, reject) {
request.del(Endpoints.CHANNELS + "/" + message.channel.id + "/messages/" + message.id).set("authorization", self.token).end(function (err, res) {

@@ -1514,0 +1517,0 @@ if (err) {

2

package.json
{
"name": "discord.js",
"version": "3.3.1",
"version": "3.3.2",
"description": "A way to interface with the Discord API",

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

@@ -1152,3 +1152,4 @@ //discord.js modules

if (pmc.user.equals(destination)) {
return pmc.id;
resolve(pmc.id);
return;
}

@@ -1159,2 +1160,3 @@ }

self.startPM(destination).then(function (pmc) {
console.log(pmc);
resolve(pmc.id);

@@ -1265,2 +1267,3 @@ }).catch(reject);

return new Promise(function(resolve, reject){
request

@@ -1267,0 +1270,0 @@ .del(`${Endpoints.CHANNELS}/${message.channel.id}/messages/${message.id}`)

@@ -20,4 +20,3 @@ var Discord = require("../");

// we can go ahead :)
console.log(message.sender.username);
mybot.sendMessage(message.channel, message.sender.username);
mybot.sendMessage(message.author, message.sender.username);
});

@@ -24,0 +23,0 @@

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