Merge pull request #779 from notsapinho/patch-1
fix(message_manager): remove unnecessary log
This commit is contained in:
commit
36bb090ebe
@ -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