From bdff59fb44302fd8c26f3cc25438ea7f804a595f Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Tue, 25 Jan 2022 19:45:57 -0400 Subject: [PATCH] fix: remove problematic import --- src/structures/MessageMedia.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/MessageMedia.js b/src/structures/MessageMedia.js index 548015a..42dd9ab 100644 --- a/src/structures/MessageMedia.js +++ b/src/structures/MessageMedia.js @@ -5,7 +5,7 @@ const path = require('path'); const mime = require('mime'); const fetch = require('node-fetch'); const { URL } = require('url'); -const { Client } = require('whatsapp-web.js'); // eslint-disable-line no-unused-vars + /** * Media attached to a message * @param {string} mimetype MIME type of the attachment @@ -52,7 +52,7 @@ class MessageMedia { * @param {Object} [options] * @param {boolean} [options.unsafeMime=false] * @param {string} [options.filename] - * @param {Client} [options.client] + * @param {object} [options.client] * @param {object} [options.reqOptions] * @param {number} [options.reqOptions.size=0] * @returns {Promise}