fix(message_manager): remove unnecessary log
This commit is contained in:
parent
494c01be6c
commit
23f8e5506d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user