satella
Advanced tools
Comparing version 1.3.5 to 1.3.6
{ | ||
"name": "satella", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Satella - A wrapper for the Discord API made in JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,3 @@ /* eslint-disable padded-blocks */ | ||
this.channel = client.channels.channels.get(data.channel_id) | ||
this.user = client.users.get(data.author.id) ? client.users.get(data.author.id) : undefined | ||
this.user = data.author ? client.users.get(data.author.id) : undefined | ||
this.member = this.guild ? this.guild.members.get(data.author.id) : undefined | ||
@@ -20,0 +20,0 @@ |
42794