devland.js
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -10,3 +10,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -13,0 +13,0 @@ "main": "index.js", |
@@ -35,19 +35,10 @@ const { EventEmitter } = require('events') | ||
* @property {number} messagesLifeTime | ||
* @property {boolean} messagesLifeTimeResetAfterEvents | ||
* @property {number} guildsLifeTime | ||
* @property {boolean} guildsLifeTimeResetAfterEvents | ||
* @property {number} channelsLifeTime | ||
* @property {boolean} channelsLifeTimeResetAfterEvents | ||
* @property {number} usersLifeTime | ||
* @property {boolean} usersLifeTimeResetAfterEvents | ||
* @property {number} channelsLifeTime | ||
* @property {boolean} channelsLifeTimeResetAfterEvents | ||
* @property {number} threadsLifeTime | ||
* @property {boolean} threadsLifeTimeResetAfterEvents | ||
* @property {number} membersLifeTime | ||
* @property {boolean} membersLifeTimeResetAfterEvents | ||
* @property {number} rolesLifeTime | ||
* @property {boolean} rolesLifeTimeResetAfterEvents | ||
* @property {number} invitesLifeTime | ||
* @property {boolean} invitesLifeTimeResetAfterEvents | ||
*/ | ||
@@ -54,0 +45,0 @@ /** |
@@ -78,3 +78,3 @@ const Permissions = require('../util/Permissions/Permissions') | ||
if (typeof data.communication_disabled_until !== "undefined") { | ||
if (typeof data.communication_disabled_until !== "number") return reject(new TypeError("The communication disabled until state must be a number")) | ||
if (data.communication_disabled_until !== null && typeof data.communication_disabled_until !== "number") return reject(new TypeError("The communication disabled until state must be a number")) | ||
} | ||
@@ -81,0 +81,0 @@ if (typeof data.flags !== "undefined") { |
Sorry, the diff of this file is too big to display
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
715802
12585