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.js CHANGED
@@ -3869,6 +3869,9 @@ var Message = class extends Event {
3869
3869
  handle(data) {
3870
3870
  return __async(this, null, function* () {
3871
3871
  var _a;
3872
+ if (data.system) {
3873
+ return {};
3874
+ }
3872
3875
  const channel = this.client.channels.cache.get(data.channel);
3873
3876
  if (channel == null ? void 0 : channel.isText()) {
3874
3877
  if (((_a = data.user) == null ? void 0 : _a.bot) && this.client.options.ignoreBots) {