revbot.js 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3793,6 +3793,9 @@ var Message = class extends Event {
3793
3793
  handle(data) {
3794
3794
  return __async(this, null, function* () {
3795
3795
  var _a;
3796
+ if (data.system) {
3797
+ return {};
3798
+ }
3796
3799
  const channel = this.client.channels.cache.get(data.channel);
3797
3800
  if (channel == null ? void 0 : channel.isText()) {
3798
3801
  if (((_a = data.user) == null ? void 0 : _a.bot) && this.client.options.ignoreBots) {