Fix logger text. (#382)

This commit is contained in:
Etorix 2025-09-09 23:33:04 -07:00 • committed by GitHub
parent d31f67d7d1
commit 7167aead16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,7 +182,7 @@ export default definePlugin({
return repliedMessage && this.isBlocked(repliedMessage) ? repliedMessage : false;
} catch (e) {
new Logger("NoBlockedMessages").error("Failed to check if referenced message is blocked:", e);
new Logger("NoBlockedMessages").error("Failed to check if referenced message is blocked or ignored:", e);
}
},
@ -194,7 +194,7 @@ export default definePlugin({
return settings.store.alsoHideIgnoredUsers && RelationshipStore.isIgnored(message.author.id);
} catch (e) {
new Logger("NoBlockedMessages").error("Failed to filter whitelisted messages:", e);
new Logger("NoBlockedMessages").error("Failed to check if message is blocked or ignored:", e);
}
},
});