catto.js 1.4.5 → 1.4.6

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.
Files changed (2) hide show
  1. package/Bot.js +1 -1
  2. package/package.json +1 -1
package/Bot.js CHANGED
@@ -247,7 +247,7 @@ module.exports = class extends EventEmitter {
247
247
  }
248
248
  if (this.options.auditIndexation) {
249
249
  this.auditDatabase = {};
250
- for (var server of this.servers) {
250
+ for (var server of this.client.guilds.cache.values()) {
251
251
  if (!server.members.me.permissions.has(Discord.PermissionsBitField.Flags.VIEW_AUDIT_LOG)) {
252
252
  continue;
253
253
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catto.js",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Universal module for everything.",
5
5
  "main": "index.js",
6
6
  "scripts": {