devland.js
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -9,3 +9,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -12,0 +12,0 @@ "main": "index.js", |
@@ -17,2 +17,5 @@ const Client = require('../../client/client') | ||
} else { | ||
client.messages.map(msg => { | ||
if(msg.channelId === data.id) client.messages.delete(msg.id) | ||
}) | ||
if (typeof client.options.channelsLifeTime === "number" && client.options.channelsLifeTime > 0) { | ||
@@ -19,0 +22,0 @@ if(!guild instanceof Guild) guild = new Guild(client, guild) |
713616
12523