fix(message_manager): remove unnecessary log

This commit is contained in:
notsapinho 2023-08-02 20:19:11 -03:00 committed by GitHub
parent 494c01be6c
commit 23f8e5506d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -381,7 +381,7 @@ class MessageManager extends CachedManager {
stringQuery = stringQuery.filter(v => !v.startsWith('channel_id') && !v.startsWith('include_nsfw')); 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(); 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])); for await (const message of data.messages) result.set(message[0].id, new Message(this.client, message[0]));
return { return {
messages: result, messages: result,