This commit is contained in:
thororen 2024-07-19 23:01:43 -04:00 committed by GitHub
parent 3d10db639c
commit e7e02bc8ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ export default definePlugin({
if (optimistic || type !== "MESSAGE_CREATE") return;
if (message.state === "SENDING") return;
if (!message.content) return;
if (message.channel_id !== getCurrentChannel()?.id ?? 0) return;
if (message.channel_id !== getCurrentChannel()?.id) return;
readOutText(message.content);
}