devland.js
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -10,3 +10,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -43,3 +43,3 @@ "main": "index.js", | ||
"author": "Jeotique", | ||
"license": "MIT", | ||
"license": "Apache License 2.0", | ||
"bugs": { | ||
@@ -53,2 +53,2 @@ "url": "https://github.com/Jeotique/devland.js/issues" | ||
"homepage": "https://github.com/Jeotique/devland.js#readme" | ||
} | ||
} |
@@ -27,2 +27,3 @@ const Client = require('../../client/client') | ||
if(data.member && guild) member = guild.members.get(data.member.id) || await client.rest.get(client._ENDPOINTS.MEMBERS(guild.id, data.member.id)) | ||
if(member && !(member instanceof Member) && (user instanceof User)) member.user = user | ||
if(member && !(member instanceof Member)) member = new Member(client, guild, member) | ||
@@ -29,0 +30,0 @@ client.emit('userTypingStart', guild, channel, user, member, data.timestamp) |
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
719316
107
0
12588
88