From 23f8e5506dd4ae33f33b1c5cf17d5eee175172b8 Mon Sep 17 00:00:00 2001 From: notsapinho <52896767+notsapinho@users.noreply.github.com> Date: Wed, 2 Aug 2023 20:19:11 -0300 Subject: [PATCH] fix(message_manager): remove unnecessary log --- src/managers/MessageManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/MessageManager.js b/src/managers/MessageManager.js index 20df657..975102b 100644 --- a/src/managers/MessageManager.js +++ b/src/managers/MessageManager.js @@ -381,7 +381,7 @@ class MessageManager extends CachedManager { stringQuery = stringQuery.filter(v => !v.startsWith('channel_id') && !v.startsWith('include_nsfw')); data = await this.client.api.channels[this.channel.id].messages[`search?${stringQuery.join('&')}`].get(); } - console.log(stringQuery); + for await (const message of data.messages) result.set(message[0].id, new Message(this.client, message[0])); return { messages: result,