if (!this.client.hooks || typeof this.client.hooks.getAll !== 'function') {
      return [];
    }