discord.js
Advanced tools
Comparing version 3.1.6 to 3.2.0
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
276758
6950
113