devland.js
Advanced tools
Comparing version 1.2.34 to 1.2.35
@@ -12,3 +12,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.2.34", | ||
"version": "1.2.35", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -15,0 +15,0 @@ "main": "index.js", |
@@ -154,2 +154,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -180,2 +181,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -197,2 +199,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -199,0 +202,0 @@ cache.set(message.id, message) |
@@ -134,2 +134,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -160,2 +161,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -177,2 +179,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -179,0 +182,0 @@ cache.set(message.id, message) |
@@ -161,2 +161,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -187,2 +188,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -204,2 +206,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -206,0 +209,0 @@ cache.set(message.id, message) |
@@ -446,2 +446,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -472,2 +473,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -489,2 +491,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -491,0 +494,0 @@ cache.set(message.id, message) |
@@ -158,2 +158,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -184,2 +185,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -201,2 +203,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -203,0 +206,0 @@ cache.set(message.id, message) |
@@ -145,2 +145,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -171,2 +172,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -188,2 +190,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -190,0 +193,0 @@ cache.set(message.id, message) |
@@ -152,2 +152,3 @@ const Client = require('../client/client') | ||
this.client.rest.get(this.client._ENDPOINTS.MESSAGES(this.id, options)).then(data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, data) | ||
@@ -178,2 +179,3 @@ resolve(new Store().set(message.id, message)) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -195,2 +197,3 @@ cache.set(message.id, message) | ||
data.map(message_data => { | ||
const Message = require('./Message') | ||
let message = new Message(this.client, this.guild, this, message_data) | ||
@@ -197,0 +200,0 @@ cache.set(message.id, message) |
1702280
18491