bugfix
This commit is contained in:
parent
1d09d3291b
commit
775b063c42
@ -164,7 +164,7 @@ class ChannelHandler {
|
||||
for (let i = context < len ? context : len; i > 0; i--) {
|
||||
const entry = history[len - i];
|
||||
if (!entry) continue;
|
||||
if (entry.readState === 'read') continue;
|
||||
if ([ 'read', 'unread' ].includes(entry.readState)) continue;
|
||||
|
||||
const user = await this.client.resolveUser(entry.author).catch(this.client.logger.error.bind(this.client.logger));
|
||||
const mem = await this.modmail.getMember(user.id).catch(this.client.logger.error.bind(this.client.logger));
|
||||
|
Loading…
Reference in New Issue
Block a user