Merge pull request #779 from notsapinho/patch-1

fix(message_manager): remove unnecessary log
This commit is contained in:
Elysia 2023-08-03 06:28:45 +07:00 committed by GitHub
commit 36bb090ebe
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'));
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,