This commit is contained in:
Ismaël Moret 2024-02-01 18:33:09 +00:00
parent ea28d6fa39
commit d5c8cbdad5
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ async function main() {
})
}
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (stream.categories === "XXX"))
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.isNSFW === true))
if(chNSFW) {
log.add({
type: 'error',