revolt.js
Advanced tools
Comparing version 6.0.4 to 6.0.5
@@ -132,4 +132,6 @@ "use strict"; | ||
} | ||
for (const emoji of packet.emojis) { | ||
this.client.emojis.createObj(emoji); | ||
if (packet.emojis) { | ||
for (const emoji of packet.emojis) { | ||
this.client.emojis.createObj(emoji); | ||
} | ||
} | ||
@@ -136,0 +138,0 @@ }); |
@@ -126,4 +126,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
for (const emoji of packet.emojis) { | ||
this.client.emojis.createObj(emoji); | ||
if (packet.emojis) { | ||
for (const emoji of packet.emojis) { | ||
this.client.emojis.createObj(emoji); | ||
} | ||
} | ||
@@ -130,0 +132,0 @@ }); |
{ | ||
"name": "revolt.js", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
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
472048
13157